diff --git a/hcl2template/function/datetime_test.go b/hcl2template/function/datetime_test.go index 1d90ce53e..fca279e84 100644 --- a/hcl2template/function/datetime_test.go +++ b/hcl2template/function/datetime_test.go @@ -40,7 +40,7 @@ func TestLegacyIsotime_inputs(t *testing.T) { }, { cty.StringVal("Mon Jan 02, 2006"), - `^(Mon|Tues|Wed|Thu|Fri|Sat|Sun){1} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec){1} \d{2}, \d{4}$`, + `^(Mon|Tue|Wed|Thu|Fri|Sat|Sun){1} (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec){1} \d{2}, \d{4}$`, }, }