Fix maint test

This commit is contained in:
Evan Culver 2021-07-15 16:55:13 -07:00 committed by Daniel Nephin
parent f2d30bbc88
commit 24db06f503
1 changed files with 1 additions and 1 deletions

View File

@ -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())
}
}