test: fix failing test

This commit is contained in:
Frank Schroeder 2017-05-23 01:43:51 +02:00
parent c5f565ee1a
commit 72c214b908
No known key found for this signature in database
GPG Key ID: 4D65C6EAEC87DECD
1 changed files with 1 additions and 1 deletions

View File

@ -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() != "<nil>" {
if ui.OutputWriter.String() != "" {
t.Fatalf("bad: %v", ui.OutputWriter.String())
}
}