Skip to content

Commit fd9bdd5

Browse files
committed
fix: use require instead of assert
1 parent d5f2bea commit fd9bdd5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

test/testshared/runner.go

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,10 @@ func InstallGolangciLint(tb testing.TB) {
320320

321321
cmd := exec.Command("make", "-C", "..", "build")
322322

323-
err := cmd.Run()
324-
assert.NoError(tb, err, "Can't go install golangci-lint")
323+
output, err := cmd.CombinedOutput()
324+
if err != nil {
325+
tb.Log(string(output))
326+
}
327+
328+
require.NoError(tb, err, "Can't go install golangci-lint")
325329
}

0 commit comments

Comments
 (0)