| 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 50167c6c5c81e56ae1e7e095e54d131e2a1078a3..80bb4547c1fbf0db514ef05132f9d7e20175b502 100644
|
| --- a/pkg/intl/test/find_default_locale_standalone_test.dart
|
| +++ b/pkg/intl/test/find_default_locale_standalone_test.dart
|
| @@ -7,22 +7,18 @@ library find_default_locale_browser_test;
|
| import 'package:intl/intl.dart';
|
| import 'package:intl/intl_standalone.dart';
|
| import 'package:unittest/unittest.dart';
|
| +import 'dart:io';
|
|
|
| main() {
|
| test("Find system locale standalone", () {
|
| // TODO (alanknight): This only verifies that we found some locale. We
|
| // should find a way to force the system locale before the test is run
|
| // and then verify that it's actually the correct value.
|
| + // We have no way of getting this reliably for Windows, so it will fail.
|
| Intl.systemLocale = "xx_YY";
|
| var callback = expectAsync1(verifyLocale);
|
| findSystemLocale().then(callback);
|
| });
|
| -
|
| - test("Test windows regex", () {
|
| - expect(sysInfoRegex.hasMatch("System Locale: en-US;blah blah"), isTrue);
|
| - expect(sysInfoRegex.hasMatch("System Locale: ru;sdfadsf"), isTrue);
|
| - expect(sysInfoRegex.hasMatch("System Locale: ru;"), isTrue);
|
| - });
|
| }
|
|
|
| verifyLocale(_) {
|
|
|