diff --git a/command/hook_ui_test.go b/command/hook_ui_test.go index 0a871cf6a9..5d4d2814d0 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)