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

Unified Diff: tests/compiler/dart2js_native/native_constructor_name_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_constructor_name_test.dart
diff --git a/tests/compiler/dart2js_native/native_constructor_name_test.dart b/tests/compiler/dart2js_native/native_constructor_name_test.dart
index 07a7a95b5dceb5ce8b5b54d32aef73d5c2b3ab31..76a30d79885de87f942cdf1cef320fa5a0f1839e 100644
--- a/tests/compiler/dart2js_native/native_constructor_name_test.dart
+++ b/tests/compiler/dart2js_native/native_constructor_name_test.dart
@@ -11,15 +11,14 @@
import "dart:_js_helper";
import "package:expect/expect.dart";
-class A {
-}
+class A {}
@Native("A")
class Z {
foo() => 100;
}
-makeZ() native;
+makeZ() native ;
void setup() native """
function A(){}
@@ -34,5 +33,5 @@ main() {
Expect.equals(100, z.foo());
- Expect.throws(() => a.foo(), (ex) => ex is NoSuchMethodError);
+ Expect.throws(() => a.foo(), (ex) => ex is NoSuchMethodError);
}

Powered by Google App Engine
This is Rietveld 408576698