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

Unified Diff: tests/compiler/dart2js_native/static_methods_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 years, 8 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/static_methods_test.dart
diff --git a/tests/compiler/dart2js_native/static_methods_test.dart b/tests/compiler/dart2js_native/static_methods_test.dart
index c646bfd80a5f28545e0fe86454b023346b779b6e..ac8c4b0d2c8e78cbbab369119a69a578ece97831 100644
--- a/tests/compiler/dart2js_native/static_methods_test.dart
+++ b/tests/compiler/dart2js_native/static_methods_test.dart
@@ -16,24 +16,24 @@ typedef int Callback(String s);
class AA {
// This name is not an identifier, so completely defines how to access method.
@JSName('CC.foo')
- static int foo(String s) native ;
+ static int foo(String s) native;
// This name is not an identifier, so completely defines how to access method.
@JSName('CC.bar')
- static int bar(Callback c) native ;
+ static int bar(Callback c) native;
static int baz(Callback c) {
return bar(c);
}
// Compiler should automatically use the tag and the declared name, i.e. call
// `CC.lepton`.
- static int lepton(Callback c) native ;
+ static int lepton(Callback c) native;
static int electron(c) => lepton(c);
// Compiler should automatically use the tag and JSName, i.e. call
// `CC.baryon`.
@JSName('baryon')
- static int _baryon(Callback c) native ;
+ static int _baryon(Callback c) native;
static int proton(c) => _baryon(c);
}

Powered by Google App Engine
This is Rietveld 408576698