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

Side by Side Diff: tests/compiler/dart2js_extra/closure7_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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 import "package:expect/expect.dart"; 5 import "package:expect/expect.dart";
6 6
7 var foo; 7 var foo;
8 bar() => foo(3, 99); 8 bar() => foo(3, 99);
9 gee(f) => foo(fun: f); 9 gee(f) => foo(fun: f);
10 10
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 Expect.equals(499, A.foo2()); 50 Expect.equals(499, A.foo2());
51 A.foo = (x, y) => x + y; 51 A.foo = (x, y) => x + y;
52 Expect.equals(102, A.bar2()); 52 Expect.equals(102, A.bar2());
53 A.foo = ({fun: null}) => fun(41); 53 A.foo = ({fun: null}) => fun(41);
54 Expect.equals(42, A.gee2((x) => x + 1)); 54 Expect.equals(42, A.gee2((x) => x + 1));
55 } 55 }
56 56
57 main() { 57 main() {
58 globalTest(); 58 globalTest();
59 staticTest(); 59 staticTest();
60 } 60 }
OLDNEW
« no previous file with comments | « tests/compiler/dart2js_extra/checked_accessor_test.dart ('k') | tests/compiler/dart2js_extra/closure_capture2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698