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

Unified Diff: tests/corelib/string_case_test.dart

Issue 2765693002: Update all tests (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
Index: tests/corelib/string_case_test.dart
diff --git a/tests/corelib/string_case_test.dart b/tests/corelib/string_case_test.dart
index d6c140d054b3f9fb9351577ac91d628bbb1da2c3..340cbd653d71ad58f29c6a2ac211f2f7e0abb770 100644
--- a/tests/corelib/string_case_test.dart
+++ b/tests/corelib/string_case_test.dart
@@ -21,30 +21,30 @@ void testSpecialCases() {
// Letters in Latin-1 where the upper case is not in Latin-1.
// German sharp s. Upper case variant is "SS".
- Expect.equals("SS", "\xdf".toUpperCase()); /// 01: ok
+ Expect.equals("SS", "\xdf".toUpperCase()); //# 01: ok
Expect.equals("\xdf", "\xdf".toLowerCase());
- Expect.equals("ss", "\xdf".toUpperCase().toLowerCase()); /// 01: continued
+ Expect.equals("ss", "\xdf".toUpperCase().toLowerCase()); //# 01: continued
// Micro sign (not same as lower-case Greek letter mu, U+03BC).
- Expect.equals("\u039c", "\xb5".toUpperCase()); /// 02: ok
+ Expect.equals("\u039c", "\xb5".toUpperCase()); //# 02: ok
Expect.equals("\xb5", "\xb5".toLowerCase());
- Expect.equals("\u03Bc", /// 02: continued
- "\xb5".toUpperCase().toLowerCase()); /// 02: continued
+ Expect.equals("\u03Bc", //# 02: continued
+ "\xb5".toUpperCase().toLowerCase()); //# 02: continued
// Small letter y diaresis.
- Expect.equals("\u0178", "\xff".toUpperCase()); /// 03: ok
+ Expect.equals("\u0178", "\xff".toUpperCase()); //# 03: ok
Expect.equals("\xff", "\xff".toLowerCase());
- Expect.equals("\xff", "\xff".toUpperCase().toLowerCase()); /// 03: continued
+ Expect.equals("\xff", "\xff".toUpperCase().toLowerCase()); //# 03: continued
// Zero.
Expect.equals("\x00", "\x00".toLowerCase());
Expect.equals("\x00", "\x00".toUpperCase());
// Test all combinations of ordering of lower-case, upper-case and
// special-when-upper-cased characters.
- Expect.equals("AA\u0178", "Aa\xff".toUpperCase()); /// 03: continued
- Expect.equals("AA\u0178", "aA\xff".toUpperCase()); /// 03: continued
- Expect.equals("A\u0178A", "A\xffa".toUpperCase()); /// 03: continued
- Expect.equals("A\u0178A", "a\xffA".toUpperCase()); /// 03: continued
- Expect.equals("\u0178AA", "\xffAa".toUpperCase()); /// 03: continued
- Expect.equals("\u0178AA", "\xffaA".toUpperCase()); /// 03: continued
+ Expect.equals("AA\u0178", "Aa\xff".toUpperCase()); //# 03: continued
+ Expect.equals("AA\u0178", "aA\xff".toUpperCase()); //# 03: continued
+ Expect.equals("A\u0178A", "A\xffa".toUpperCase()); //# 03: continued
+ Expect.equals("A\u0178A", "a\xffA".toUpperCase()); //# 03: continued
+ Expect.equals("\u0178AA", "\xffAa".toUpperCase()); //# 03: continued
+ Expect.equals("\u0178AA", "\xffaA".toUpperCase()); //# 03: continued
Expect.equals("aa\xff", "Aa\xff".toLowerCase());
Expect.equals("aa\xff", "aA\xff".toLowerCase());

Powered by Google App Engine
This is Rietveld 408576698