Skip to content

Commit bf0f208

Browse files
committed
fix city matching expression
1 parent eead400 commit bf0f208

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mcbroken/data_source_cities_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
func TestAccMcbrokenCities(t *testing.T) {
1111
brokenNumberRegex, _ := regexp.Compile(`\d{1,3}.\d{1,2}`)
12-
cityRegex, _ := regexp.Compile(`\w`)
12+
cityRegex, _ := regexp.Compile(`[a-zA-Z]+$`)
1313
resource.ParallelTest(t, resource.TestCase{
1414
PreCheck: func() { /* no precheck needed testAccPreCheck(t) */ },
1515
ProviderFactories: testAccProviderFactories,

0 commit comments

Comments
 (0)