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; |