From 24db06f5039cd95132dad39c65aa367721dd86a7 Mon Sep 17 00:00:00 2001 From: Evan Culver Date: Thu, 15 Jul 2021 16:55:13 -0700 Subject: [PATCH] Fix maint test --- command/maint/maint_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/maint/maint_test.go b/command/maint/maint_test.go index 18ee9eb40e..9e538eba93 100644 --- a/command/maint/maint_test.go +++ b/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) } - if !strings.Contains(ui.ErrorWriter.String(), "No service registered") { + if !strings.Contains(ui.ErrorWriter.String(), "Unknown service") { t.Fatalf("bad: %#v", ui.ErrorWriter.String()) } }