| Index: tests/compiler/dart2js/platform_consistency_test.dart
|
| diff --git a/tests/compiler/dart2js/platform_consistency_test.dart b/tests/compiler/dart2js/platform_consistency_test.dart
|
| index 5d6e6381b3135976c47d870530fccbefb4cd212e..59b257c70b99b72c5594437eaddc685280ec7c1d 100644
|
| --- a/tests/compiler/dart2js/platform_consistency_test.dart
|
| +++ b/tests/compiler/dart2js/platform_consistency_test.dart
|
| @@ -7,8 +7,6 @@ import "package:compiler/src/source_file_provider.dart";
|
| import "package:compiler/compiler_new.dart";
|
| import "package:expect/expect.dart";
|
|
|
| -Uri unsupported = Uri.parse("unsupported:");
|
| -
|
| main() async {
|
| CompilerInput input = new CompilerSourceFileProvider();
|
| Map<String, Uri> client =
|
| @@ -22,7 +20,8 @@ main() async {
|
|
|
| for (String libraryName in shared.keys) {
|
| test(Map<String, Uri> m) {
|
| - if (m[libraryName] != unsupported && shared[libraryName] != unsupported) {
|
| + if (m[libraryName].scheme != 'unsupported' &&
|
| + shared[libraryName].scheme != 'unsupported') {
|
| Expect.equals(shared[libraryName], m[libraryName]);
|
| }
|
| }
|
|
|