mirror of
https://github.com/status-im/consul.git
synced 2025-02-18 00:27:04 +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)
|
||||
}
|
||||
|
||||
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…
x
Reference in New Issue
Block a user