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

Unified Diff: tests/compiler/dart2js_native/native_class_inheritance1_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_inheritance1_frog_test.dart
diff --git a/tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart b/tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart
index 65085cc03bc1d94d60c2edabfbe6bd2449819ded..3b0ab8b482eaf6082e4b184f673d0be6404e25f1 100644
--- a/tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart
+++ b/tests/compiler/dart2js_native/native_class_inheritance1_frog_test.dart
@@ -13,31 +13,30 @@ import "package:expect/expect.dart";
// Version 1: It might be possible to call foo directly.
@Native("A1")
class A1 {
- foo() native;
+ foo() native ;
}
@Native("B1")
class B1 extends A1 {
- foo() native;
+ foo() native ;
}
-makeA1() native;
-makeB1() native;
-
+makeA1() native ;
+makeB1() native ;
// Version 2: foo needs some kind of trampoline.
@Native("A2")
class A2 {
- foo([a=99]) native;
+ foo([a = 99]) native ;
}
@Native("B2")
class B2 extends A2 {
- foo([z=1000]) native;
+ foo([z = 1000]) native ;
}
-makeA2() native;
-makeB2() native;
+makeA2() native ;
+makeB2() native ;
void setup() native """
// This code is all inside 'setup' and so not accesible from the global scope.
@@ -70,7 +69,6 @@ makeA2 = function(){return new A2};
makeB2 = function(){return new B2};
""";
-
main() {
setup();

Powered by Google App Engine
This is Rietveld 408576698