Unverified Commit 0d483992 authored by Radek Simko's avatar Radek Simko Committed by GitHub
Browse files

Merge pull request #20167 from hashicorp/t-cmd-fix-regex

command: Fix TestUiHookPostApply_emptyState
parents 411dab1d 101454a6
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment