Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(365)

Unified Diff: tests/compiler/dart2js/platform_consistency_test.dart

Issue 2684793002: Fix tests broken by ac6bf5926f60e81454ec5d2350a12b50d8b7481e (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/compiler/dart2js/missing_file_test.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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]);
}
}
« no previous file with comments | « tests/compiler/dart2js/missing_file_test.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698