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

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

Issue 2989473002: Migrated test block 27 to Dart 2.0. (Closed)
Patch Set: Addressed Bob's nits and fixed test failures Created 3 years, 5 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/string_buffer_test.dart ('k') | tests/corelib_2/string_codeunits_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"; 5 import "package:expect/expect.dart";
6 6
7 main() { 7 main() {
8 testLowerUpper(); 8 testLowerUpper();
9 testSpecialCases(); 9 testSpecialCases();
10 } 10 }
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 Expect.equals("\u0178AA", "\xffAa".toUpperCase()); // //# 03: continue d 46 Expect.equals("\u0178AA", "\xffAa".toUpperCase()); // //# 03: continue d
47 Expect.equals("\u0178AA", "\xffaA".toUpperCase()); // //# 03: continue d 47 Expect.equals("\u0178AA", "\xffaA".toUpperCase()); // //# 03: continue d
48 48
49 Expect.equals("aa\xff", "Aa\xff".toLowerCase()); 49 Expect.equals("aa\xff", "Aa\xff".toLowerCase());
50 Expect.equals("aa\xff", "aA\xff".toLowerCase()); 50 Expect.equals("aa\xff", "aA\xff".toLowerCase());
51 Expect.equals("a\xffa", "A\xffa".toLowerCase()); 51 Expect.equals("a\xffa", "A\xffa".toLowerCase());
52 Expect.equals("a\xffa", "a\xffA".toLowerCase()); 52 Expect.equals("a\xffa", "a\xffA".toLowerCase());
53 Expect.equals("\xffaa", "\xffAa".toLowerCase()); 53 Expect.equals("\xffaa", "\xffAa".toLowerCase());
54 Expect.equals("\xffaa", "\xffaA".toLowerCase()); 54 Expect.equals("\xffaa", "\xffaA".toLowerCase());
55 } 55 }
OLDNEW
« no previous file with comments | « tests/corelib_2/string_buffer_test.dart ('k') | tests/corelib_2/string_codeunits_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698