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

Side by Side Diff: tests/language/deferred_static_seperate_lib2.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 library lib2; 5 library lib2;
6 6
7 import "package:expect/expect.dart"; 7 import "package:expect/expect.dart";
8 import "deferred_static_seperate_lib1.dart"; 8 import "deferred_static_seperate_lib1.dart";
9 9
10 foo() { 10 foo() {
11 Expect.equals(1, C.foo()); 11 Expect.equals(1, C.foo());
12 Expect.mapEquals({}, C1.foo); 12 Expect.mapEquals({}, C1.foo);
13 13
14 Expect.mapEquals({1: 2}, C2.foo); 14 Expect.mapEquals({1: 2}, C2.foo);
15 C2.foo = {1: 2}; 15 C2.foo = {1: 2};
16 Expect.mapEquals({1: 2}, C2.foo); 16 Expect.mapEquals({1: 2}, C2.foo);
17 17
18 Expect.equals(x, C3.foo); 18 Expect.equals(x, C3.foo);
19 Expect.mapEquals({x: x}, C4.foo); 19 Expect.mapEquals({x: x}, C4.foo);
20 Expect.listEquals([const{1: 3}], C5.foo); 20 Expect.listEquals([
21 21 const {1: 3}
22 } 22 ], C5.foo);
23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698