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

Unified Diff: tests/compiler/dart2js_native/runtimetype_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_native/runtimetype_test.dart
diff --git a/tests/compiler/dart2js_native/runtimetype_test.dart b/tests/compiler/dart2js_native/runtimetype_test.dart
index 460dfd082d74fe9503be5e23bc19de73e82a490c..4667eca8d8808d984ee3f5faa516c30ea0e2914e 100644
--- a/tests/compiler/dart2js_native/runtimetype_test.dart
+++ b/tests/compiler/dart2js_native/runtimetype_test.dart
@@ -10,15 +10,13 @@ import 'dart:_foreign_helper' show JS;
// constructor name.
@Native("TAGX")
-class A {
-}
+class A {}
@Native("TAGY")
-class B extends A {
-}
+class B extends A {}
-makeA() native;
-makeB() native;
+makeA() native ;
+makeB() native ;
void setup() native """
// This code is all inside 'setup' and so not accesible from the global scope.
@@ -37,7 +35,6 @@ makeA = function(){return new TAGX};
makeB = function(){return new TAGY};
""";
-
testDynamicContext() {
var a = makeA();
var b = makeB();
@@ -50,7 +47,7 @@ testDynamicContext() {
}
testStaticContext() {
- var a = JS('A', '#', makeA()); // Force compiler to know type.
+ var a = JS('A', '#', makeA()); // Force compiler to know type.
var b = JS('B', '#', makeB());
var aT = a.runtimeType;
« no previous file with comments | « tests/compiler/dart2js_native/rti_only_native_test.dart ('k') | tests/compiler/dart2js_native/static_methods_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698