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

Unified Diff: tests/compiler/dart2js_native/bound_closure_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/bound_closure_test.dart
diff --git a/tests/compiler/dart2js_native/bound_closure_test.dart b/tests/compiler/dart2js_native/bound_closure_test.dart
index afbecce4b1aee9b7b50880597628c6749d74051d..a637121be707d453fd273963850521fc052f1b9f 100644
--- a/tests/compiler/dart2js_native/bound_closure_test.dart
+++ b/tests/compiler/dart2js_native/bound_closure_test.dart
@@ -8,25 +8,25 @@ import "package:expect/expect.dart";
// Test calling convention of property extraction closures.
class AA {
- bar(a, [b = 'A']) => 'AA.bar($a, $b)'; // bar is plain dart convention.
- foo(a, [b = 'A']) => 'AA.foo($a, $b)'; // foo has interceptor convention.
+ bar(a, [b = 'A']) => 'AA.bar($a, $b)'; // bar is plain dart convention.
+ foo(a, [b = 'A']) => 'AA.foo($a, $b)'; // foo has interceptor convention.
}
@Native("BB")
class BB {
- foo(a, [b = 'B']) native;
+ foo(a, [b = 'B']) native ;
}
@Native("CC")
class CC extends BB {
- foo(a, [b = 'C']) native;
+ foo(a, [b = 'C']) native ;
get superfoo => super.foo;
}
-makeBB() native;
-makeCC() native;
-inscrutable(a) native;
+makeBB() native ;
+makeCC() native ;
+inscrutable(a) native ;
void setup() native r"""
function BB() {}
@@ -44,7 +44,6 @@ makeCC = function(){return new CC;};
inscrutable = function(a){return a;};
""";
-
main() {
setup();
var a = inscrutable(new AA());

Powered by Google App Engine
This is Rietveld 408576698