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

Side by Side Diff: tests/language/const_list_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/const_init_test.dart ('k') | tests/language/const_locals_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 class ConstListTest { 5 class ConstListTest {
8 6
9 static testMain() { 7 static testMain() {
10 List fixedList = new List(4); 8 List fixedList = new List(4);
11 List fixedList2 = new List(4); 9 List fixedList2 = new List(4);
12 List growableList = new List(); 10 List growableList = new List();
13 List growableList2 = new List(); 11 List growableList2 = new List();
14 for (int i = 0; i < 4; i++) { 12 for (int i = 0; i < 4; i++) {
15 fixedList[i] = i; 13 fixedList[i] = i;
16 fixedList2[i] = i; 14 fixedList2[i] = i;
(...skipping 16 matching lines...) Expand all
33 Expect.equals(false, a == b); 31 Expect.equals(false, a == b);
34 a = const [1, 2, 3.1]; 32 a = const [1, 2, 3.1];
35 b = const [1, 2, 3.1]; 33 b = const [1, 2, 3.1];
36 Expect.equals(true, a == b); 34 Expect.equals(true, a == b);
37 } 35 }
38 } 36 }
39 37
40 main() { 38 main() {
41 ConstListTest.testMain(); 39 ConstListTest.testMain();
42 } 40 }
OLDNEW
« no previous file with comments | « tests/language/const_init_test.dart ('k') | tests/language/const_locals_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698