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

Unified Diff: tests/compiler/dart2js_native/native_class_inheritance2_frog_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/native_class_inheritance2_frog_test.dart
diff --git a/tests/compiler/dart2js_native/native_class_inheritance2_frog_test.dart b/tests/compiler/dart2js_native/native_class_inheritance2_frog_test.dart
index bb5d7fb2c873acda5194e27680fbb5696c6c6a49..d01b4ffbb6e636b5e9a50f3cea2a2b97951965e8 100644
--- a/tests/compiler/dart2js_native/native_class_inheritance2_frog_test.dart
+++ b/tests/compiler/dart2js_native/native_class_inheritance2_frog_test.dart
@@ -12,26 +12,24 @@ import "package:expect/expect.dart";
@Native("A")
class A {
- foo([a=100]) native;
+ foo([a = 100]) native ;
}
@Native("B")
-class B extends A {
-}
+class B extends A {}
@Native("C")
class C extends B {
- foo([z=300]) native;
+ foo([z = 300]) native ;
}
@Native("D")
-class D extends C {
-}
+class D extends C {}
-makeA() native;
-makeB() native;
-makeC() native;
-makeD() native;
+makeA() native ;
+makeB() native ;
+makeC() native ;
+makeD() native ;
void setup() native """
// This code is all inside 'setup' and so not accesible from the global scope.
@@ -63,7 +61,6 @@ makeC = function(){return new C};
makeD = function(){return new D};
""";
-
main() {
setup();

Powered by Google App Engine
This is Rietveld 408576698