We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 81da041 + 760bc7c commit d7b55e1Copy full SHA for d7b55e1
activation/files_test.go
@@ -65,7 +65,7 @@ func TestActivationNoFix(t *testing.T) {
65
cmd.Env = append(cmd.Env, "LISTEN_FDS=2")
66
67
out, _ := cmd.CombinedOutput()
68
- if bytes.Contains(out, []byte("No files")) == false {
+ if !bytes.Contains(out, []byte("No files")) {
69
t.Fatalf("Child didn't error out as expected")
70
}
71
@@ -76,7 +76,7 @@ func TestActivationNoFiles(t *testing.T) {
76
cmd.Env = append(cmd.Env, "LISTEN_FDS=0", "FIX_LISTEN_PID=1")
77
78
79
80
81
82
0 commit comments