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

Side by Side Diff: tests/corelib_2/iterable_tostring_test.dart

Issue 2996513002: Migrated test block 12 to Dart 2.0. (Closed)
Patch Set: Created 3 years, 4 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
« no previous file with comments | « tests/corelib_2/iterable_to_set_test.dart ('k') | tests/corelib_2/json_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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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 // Test the IterableBase/IterableMixin toString method. 5 // Test the IterableBase/IterableMixin toString method.
6 6
7 import "package:expect/expect.dart"; 7 import "package:expect/expect.dart";
8 import "dart:collection"; 8 import "dart:collection";
9 9
10 String mkIt(int len, [func]) { 10 String mkIt(int len, [func]) {
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 " ..., 98, 99)", 97 " ..., 98, 99)",
98 mkIt(100, 98 mkIt(100,
99 (x) => (x < 3) ? "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" : "$x")); 99 (x) => (x < 3) ? "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" : "$x"));
100 100
101 Expect.equals( 101 Expect.equals(
102 //0123456789012345678901234567890123456789 102 //0123456789012345678901234567890123456789
103 "(, , , , , , , , , , , , , , , , , , , ," 103 "(, , , , , , , , , , , , , , , , , , , ,"
104 " , , , , , , , , , , , , , , , ..., , )", 104 " , , , , , , , , , , , , , , , ..., , )",
105 mkIt(100, (_) => "")); 105 mkIt(100, (_) => ""));
106 } 106 }
OLDNEW
« no previous file with comments | « tests/corelib_2/iterable_to_set_test.dart ('k') | tests/corelib_2/json_map_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698