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

Unified Diff: tests/compiler/dart2js_extra/deferred_inheritance_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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_extra/deferred_inheritance_test.dart
diff --git a/tests/compiler/dart2js_extra/deferred_inheritance_test.dart b/tests/compiler/dart2js_extra/deferred_inheritance_test.dart
index bbc51555ad70387d8d9192785caf55e65ed06320..ff7005ca0adfa6ed02e133912559b7d5e895b198 100644
--- a/tests/compiler/dart2js_extra/deferred_inheritance_test.dart
+++ b/tests/compiler/dart2js_extra/deferred_inheritance_test.dart
@@ -18,13 +18,14 @@ class B extends A {}
/// If the check `y is A` is generated as `y.$isA` then the issue is not
/// exposed. We use `AssumeDynamic` to ensure that we generate as `y instanceof
/// A` in JS.
-@NoInline() @AssumeDynamic()
+@NoInline()
+@AssumeDynamic()
check(y) => Expect.isTrue(y is A);
main() {
check(new B());
d.loadLibrary().then((_) {
- check(new d.C());
- check(new B()); // This fails if we overwrite the inheritance chain.
+ check(new d.C());
+ check(new B()); // This fails if we overwrite the inheritance chain.
});
}
« no previous file with comments | « tests/compiler/dart2js_extra/deferred_fail_and_retry_worker_test.dart ('k') | tests/compiler/dart2js_extra/do_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698