diff --git a/command/validate_test.go b/command/validate_test.go index f6ead54e41..7d1511c340 100644 --- a/command/validate_test.go +++ b/command/validate_test.go @@ -124,7 +124,7 @@ func TestValidateCommandQuiet(t *testing.T) { if code := cmd.Run(args); code != 0 { t.Fatalf("bad: %d, %s", code, ui.ErrorWriter.String()) } - if ui.OutputWriter.String() != "" { + if ui.OutputWriter.String() != "" { t.Fatalf("bad: %v", ui.OutputWriter.String()) } }