mirror of
https://github.com/status-im/consul.git
synced 2025-02-21 09:58:26 +00:00
Fix maint test
This commit is contained in:
parent
f917372f0a
commit
ed9f5ac71d
@ -256,7 +256,7 @@ func TestMaintCommand_ServiceMaintenance_NoService(t *testing.T) {
|
|||||||
t.Fatalf("expected response code 1, got %d", code)
|
t.Fatalf("expected response code 1, got %d", code)
|
||||||
}
|
}
|
||||||
|
|
||||||
if !strings.Contains(ui.ErrorWriter.String(), "No service registered") {
|
if !strings.Contains(ui.ErrorWriter.String(), "Unknown service") {
|
||||||
t.Fatalf("bad: %#v", ui.ErrorWriter.String())
|
t.Fatalf("bad: %#v", ui.ErrorWriter.String())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user