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

Side by Side Diff: tests/language/map_literal_test.dart

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 years, 9 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 | Annotate | Revision Log
« no previous file with comments | « tests/language/map_literal_syntax_test.dart ('k') | tests/language/map_test.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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";
6
7 // Tests map literals. 5 // Tests map literals.
8 6
9 class MapLiteralTest { 7 class MapLiteralTest {
10 MapLiteralTest() {} 8 MapLiteralTest() {}
11 9
12 static testMain() { 10 static testMain() {
13 var test = new MapLiteralTest(); 11 var test = new MapLiteralTest();
14 test.testStaticInit(); 12 test.testStaticInit();
15 test.testConstInit(); 13 test.testConstInit();
16 } 14 }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 Expect.equals(2, map1["b"]); 67 Expect.equals(2, map1["b"]);
70 68
71 Expect.equals(1, map2["1"]); 69 Expect.equals(1, map2["1"]);
72 Expect.equals(2, map2["2"]); 70 Expect.equals(2, map2["2"]);
73 } 71 }
74 } 72 }
75 73
76 main() { 74 main() {
77 MapLiteralTest.testMain(); 75 MapLiteralTest.testMain();
78 } 76 }
OLDNEW
« no previous file with comments | « tests/language/map_literal_syntax_test.dart ('k') | tests/language/map_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698