Index: pkg/intl/test/find_default_locale_browser_test.dart |
diff --git a/pkg/intl/test/find_default_locale_browser_test.dart b/pkg/intl/test/find_default_locale_browser_test.dart |
index e4d78fd0ae7f236ac8d6f292c426752eb16f5cc5..1cc177eb53de63f54b399d92a4c65aaf20c8073f 100644 |
--- a/pkg/intl/test/find_default_locale_browser_test.dart |
+++ b/pkg/intl/test/find_default_locale_browser_test.dart |
@@ -24,7 +24,7 @@ verifyLocale(_) { |
// Allow either en_US or just en type locales. Windows in particular may |
// give us just ru for ru_RU |
var pattern = new RegExp(r"\w\w_[A-Z0-9]+"); |
- var shortPattern = new RegExp(r"\w\w\"); |
+ var shortPattern = new RegExp(r"\w\w"); |
var match = pattern.hasMatch(Intl.systemLocale); |
var shortMatch = shortPattern.hasMatch(Intl.systemLocale); |
expect(match || shortMatch, isTrue); |