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

Unified Diff: tests/corelib/integer_to_string_test.dart

Issue 2765893003: Fix warnings_checker.dart handling of multitests (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
« no previous file with comments | « tests/corelib/int_parse_radix_test.dart ('k') | tests/corelib/iterable_generate_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/integer_to_string_test.dart
diff --git a/tests/corelib/integer_to_string_test.dart b/tests/corelib/integer_to_string_test.dart
index 53c4d95305d43f3346c8a3204aa3955ab62e0ae3..b96f6f0543c4f7ec8b28f71107075c3378bc9abd 100644
--- a/tests/corelib/integer_to_string_test.dart
+++ b/tests/corelib/integer_to_string_test.dart
@@ -51,22 +51,22 @@ main() {
// ~2^53.
test(0x1fffffffffffff, "9007199254740991");
test(0x20000000000000, "9007199254740992");
- test(0x20000000000001, "9007199254740993"); // /// 01: ok
+ test(0x20000000000001, "9007199254740993"); // //# 01: ok
// ~2^62.
- test(0x3fffffffffffffff, "4611686018427387903"); // /// 01: continued
- test(0x4000000000000000, "4611686018427387904"); // /// 01: continued
- test(0x4000000000000001, "4611686018427387905"); // /// 01: continued
+ test(0x3fffffffffffffff, "4611686018427387903"); // //# 01: continued
+ test(0x4000000000000000, "4611686018427387904"); // //# 01: continued
+ test(0x4000000000000001, "4611686018427387905"); // //# 01: continued
// ~2^63.
- test(0x7fffffffffffffff, "9223372036854775807"); // /// 01: continued
- test(0x8000000000000000, "9223372036854775808"); // /// 01: continued
- test(0x8000000000000001, "9223372036854775809"); // /// 01: continued
+ test(0x7fffffffffffffff, "9223372036854775807"); // //# 01: continued
+ test(0x8000000000000000, "9223372036854775808"); // //# 01: continued
+ test(0x8000000000000001, "9223372036854775809"); // //# 01: continued
// ~2^64.
- test(0xffffffffffffffff, "18446744073709551615"); // /// 01: continued
- test(0x10000000000000000, "18446744073709551616"); // /// 01: continued
- test(0x10000000000000001, "18446744073709551617"); // /// 01: continued
+ test(0xffffffffffffffff, "18446744073709551615"); // //# 01: continued
+ test(0x10000000000000000, "18446744073709551616"); // //# 01: continued
+ test(0x10000000000000001, "18446744073709551617"); // //# 01: continued
// Big bignum.
- test(123456789012345678901234567890, // /// 01: continued
- "123456789012345678901234567890"); // /// 01: continued
+ test(123456789012345678901234567890, // //# 01: continued
+ "123456789012345678901234567890"); // //# 01: continued
// Decimal special cases.
@@ -79,10 +79,10 @@ main() {
number *= 10;
}
// Fails to represent exactly in dart2js.
- for (int i = 15; i < 22; i++) { // /// 01: continued
- test(number - 1, "9" * i); // /// 01: continued
- test(number, "1" + "0" * i); // /// 01: continued
- test(number + 1, "1" + "0" * (i - 1) + "1"); // /// 01: continued
- number *= 10; // /// 01: continued
- } // /// 01: continued
+ for (int i = 15; i < 22; i++) { // //# 01: continued
+ test(number - 1, "9" * i); // //# 01: continued
+ test(number, "1" + "0" * i); // //# 01: continued
+ test(number + 1, "1" + "0" * (i - 1) + "1"); // //# 01: continued
+ number *= 10; // //# 01: continued
+ } // //# 01: continued
}
« no previous file with comments | « tests/corelib/int_parse_radix_test.dart ('k') | tests/corelib/iterable_generate_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698