mirror of https://github.com/status-im/consul.git
test: fix failing test
This commit is contained in:
parent
c5f565ee1a
commit
72c214b908
|
@ -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())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue