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

Unified Diff: tests/compiler/dart2js_native/native_use_native_name_in_table_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_use_native_name_in_table_frog_test.dart
diff --git a/tests/compiler/dart2js_native/native_use_native_name_in_table_frog_test.dart b/tests/compiler/dart2js_native/native_use_native_name_in_table_frog_test.dart
index 4c0b5f63df42ee54de841329937df3f5ae0a6160..712d173f1183586046ad230afccfa4ebf50ff918 100644
--- a/tests/compiler/dart2js_native/native_use_native_name_in_table_frog_test.dart
+++ b/tests/compiler/dart2js_native/native_use_native_name_in_table_frog_test.dart
@@ -10,15 +10,14 @@ import "package:expect/expect.dart";
@Native("NativeA")
class A {
- foo() native;
+ foo() native ;
}
@Native("NativeB")
-class B extends A {
-}
+class B extends A {}
-A makeA() native;
-B makeB() native;
+A makeA() native ;
+B makeB() native ;
void setup() native """
function inherits(child, parent) {
@@ -40,7 +39,6 @@ makeA = function(){return new NativeA;};
makeB = function(){return new NativeB;};
""";
-
main() {
setup();

Powered by Google App Engine
This is Rietveld 408576698