| 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 82ebd28eb8dac91ae9440938b5a8a622dbe43b98..9710c68def2f1ffc41bb42678e1cf98da24694ce 100644
|
| --- a/pkg/intl/test/find_default_locale_standalone_test.dart
|
| +++ b/pkg/intl/test/find_default_locale_standalone_test.dart
|
| @@ -22,6 +22,8 @@ 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 match = pattern.hasMatch(Intl.systemLocale);
|
| - expect(match, isTrue);
|
| + var shortMatch = shortPattern.hasMatch(Intl.systemLocale);
|
| + expect(match || shortMatch, isTrue);
|
| }
|
|
|