mirror of https://github.com/status-im/consul.git
Fix maint test
This commit is contained in:
parent
f2d30bbc88
commit
24db06f503
|
@ -256,7 +256,7 @@ func TestMaintCommand_ServiceMaintenance_NoService(t *testing.T) {
|
|||
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())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue