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

Unified Diff: tests/compiler/dart2js_native/native_named_constructors3_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_named_constructors3_frog_test.dart
diff --git a/tests/compiler/dart2js_native/native_named_constructors3_frog_test.dart b/tests/compiler/dart2js_native/native_named_constructors3_frog_test.dart
index fa4c14ce29bbe08c747ba2b39f14071a5ff321eb..dcc89fa925061b8ee9f3ecd45d450894af6e7886 100644
--- a/tests/compiler/dart2js_native/native_named_constructors3_frog_test.dart
+++ b/tests/compiler/dart2js_native/native_named_constructors3_frog_test.dart
@@ -8,23 +8,21 @@ import "package:expect/expect.dart";
// Hidden native class with factory constructors and NO static methods.
// Regression test.
-
@Native("A")
class A {
-
// No static methods in this class.
factory A(int len) => makeA(len);
- factory A.fromString(String s) => makeA(s.length);
+ factory A.fromString(String s) => makeA(s.length);
// Only functions with zero parameters are allowed with "native r'...'".
factory A.nativeConstructor() native r'return makeA(102);';
- foo() native;
+ foo() native ;
}
-makeA(v) native;
+makeA(v) native ;
void setup() native """
// This code is all inside 'setup' and so not accesible from the global scope.

Powered by Google App Engine
This is Rietveld 408576698