From 101454a609d654ef4465958f21d5ff63572992b3 Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Thu, 31 Jan 2019 12:25:57 +0000 Subject: [PATCH] command: Fix TestUiHookPostApply_emptyState --- command/hook_ui_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/hook_ui_test.go b/command/hook_ui_test.go index 0a871cf6a..5d4d2814d 100644 --- a/command/hook_ui_test.go +++ b/command/hook_ui_test.go @@ -188,7 +188,7 @@ func TestUiHookPostApply_emptyState(t *testing.T) { t.Fatalf("Expected hook to continue, given: %#v", action) } - expectedRegexp := "^data.google_compute_zones.available: Destruction complete after -?[a-z0-9.]+\n$" + expectedRegexp := "^data.google_compute_zones.available: Destruction complete after -?[a-z0-9ยต.]+\n$" output := ui.OutputWriter.String() if matched, _ := regexp.MatchString(expectedRegexp, output); !matched { t.Fatalf("Output didn't match regexp.\nExpected: %q\nGiven: %q", expectedRegexp, output)