Browse Source

Fix maint test

pull/10632/head
Evan Culver 3 years ago committed by Daniel Nephin
parent
commit
24db06f503
  1. 2
      command/maint/maint_test.go

2
command/maint/maint_test.go

@ -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…
Cancel
Save