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

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

Issue 278733003: When mirrors are used with deferred loading we now go through all (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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
Index: tests/compiler/dart2js/deferred_mirrors_test.dart
diff --git a/tests/compiler/dart2js/deferred_mirrors_test.dart b/tests/compiler/dart2js/deferred_mirrors_test.dart
index 12e2b7d9433dc03eff2173cd0b6db0921cd9f1f1..f846ab222c3633b39a6dc22c29ed5b89de43883c 100644
--- a/tests/compiler/dart2js/deferred_mirrors_test.dart
+++ b/tests/compiler/dart2js/deferred_mirrors_test.dart
@@ -38,8 +38,7 @@ void main() {
var field2 = lib2.find("field2");
Expect.notEquals(outputUnitForElement(main), outputUnitForElement(foo1));
- Expect.equals(outputUnitForElement(foo1), outputUnitForElement(sin));
- Expect.equals(outputUnitForElement(foo2), outputUnitForElement(sin));
+ Expect.equals(outputUnitForElement(main), outputUnitForElement(sin));
Expect.equals(outputUnitForElement(foo2), outputUnitForElement(field2));
});
runTest('memory:main2.dart', (compiler) {
@@ -59,7 +58,7 @@ void main() {
var foo = lib3.find("foo");
Expect.notEquals(outputUnitForElement(main), outputUnitForElement(foo));
- Expect.equals(outputUnitForElement(foo), outputUnitForElement(C));
+ Expect.equals(outputUnitForElement(main), outputUnitForElement(C));
});
}

Powered by Google App Engine
This is Rietveld 408576698