command: Fix TestUiHookPostApply_emptyState

This commit is contained in:
Radek Simko 2019-01-31 12:25:57 +00:00
parent 1a8ddc26a5
commit 101454a609
No known key found for this signature in database
GPG Key ID: 1F1C84FE689A88D7
1 changed files with 1 additions and 1 deletions

View File

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