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

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

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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
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
5 // Tests map literals. 7 // Tests map literals.
6 8
7 class MapLiteralTest { 9 class MapLiteralTest {
8 MapLiteralTest() {} 10 MapLiteralTest() {}
9 11
10 static testMain() { 12 static testMain() {
11 var test = new MapLiteralTest(); 13 var test = new MapLiteralTest();
12 test.testStaticInit(); 14 test.testStaticInit();
13 test.testConstInit(); 15 test.testConstInit();
14 } 16 }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 Expect.equals(2, map1["b"]); 69 Expect.equals(2, map1["b"]);
68 70
69 Expect.equals(1, map2["1"]); 71 Expect.equals(1, map2["1"]);
70 Expect.equals(2, map2["2"]); 72 Expect.equals(2, map2["2"]);
71 } 73 }
72 } 74 }
73 75
74 main() { 76 main() {
75 MapLiteralTest.testMain(); 77 MapLiteralTest.testMain();
76 } 78 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698