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

Unified Diff: tests/compiler/dart2js_native/downcast_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/downcast_test.dart
diff --git a/tests/compiler/dart2js_native/downcast_test.dart b/tests/compiler/dart2js_native/downcast_test.dart
index 6810a61286b7ff8a8ff5cee06a16bceb3344e7fe..f993388d1094b1a73a080d15c46a74dcf0a6b216 100644
--- a/tests/compiler/dart2js_native/downcast_test.dart
+++ b/tests/compiler/dart2js_native/downcast_test.dart
@@ -7,8 +7,7 @@
import "dart:_js_helper";
import "package:expect/expect.dart";
-abstract class J {
-}
+abstract class J {}
abstract class I extends J {
I read();
@@ -20,16 +19,15 @@ abstract class I extends J {
@Native("A")
class A implements I {
// The native class accepts only other native instances.
- A read() native;
- write(A x) native;
+ A read() native ;
+ write(A x) native ;
}
@Native("B")
-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.

Powered by Google App Engine
This is Rietveld 408576698