Merge pull request #9643 from LK4D4/fix_vet_errors
Fix vet errors Upstream-commit: 17cacf3326edde6d177e12132f74fc0174bda1d2 Component: engine
This commit is contained in:
@ -2760,7 +2760,7 @@ func TestRunTtyWithPipe(t *testing.T) {
|
||||
if out, _, err := runCommandWithOutput(cmd); err == nil {
|
||||
t.Fatal("run should have failed")
|
||||
} else if !strings.Contains(out, expected) {
|
||||
t.Fatal("run failed with error %q: expected %q", out, expected)
|
||||
t.Fatalf("run failed with error %q: expected %q", out, expected)
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user