Index: pkg/intl/test/find_default_locale_standalone_test.dart |
diff --git a/pkg/intl/test/find_default_locale_standalone_test.dart b/pkg/intl/test/find_default_locale_standalone_test.dart |
index 9710c68def2f1ffc41bb42678e1cf98da24694ce..b27b5783436f10f90d95b28ea68c78ecec6614dd 100644 |
--- a/pkg/intl/test/find_default_locale_standalone_test.dart |
+++ b/pkg/intl/test/find_default_locale_standalone_test.dart |
@@ -22,7 +22,7 @@ main() { |
verifyLocale(_) { |
expect(Intl.systemLocale, isNot(equals("xx_YY"))); |
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); |