We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01d237b commit 7aad0c8Copy full SHA for 7aad0c8
main_test.go
@@ -190,7 +190,7 @@ func TestExitCodeOnError(t *testing.T) {
190
main()
191
return
192
}
193
- cmd := exec.Command(os.Args[0], "-test.run=TestExitCodeOnError") //nolint:gosec
+ cmd := exec.Command(os.Args[0], "-test.run=TestExitCodeOnError") //nolint:gosec,noctx
194
cmd.Env = append(os.Environ(), "BE_CRASHER=1")
195
err := cmd.Run()
196
if e, ok := err.(*exec.ExitError); ok && !e.Success() {
0 commit comments