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

Unified Diff: tests/corelib/integer_to_string_test.dart

Issue 2774783002: Re-land "Format all 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 b96f6f0543c4f7ec8b28f71107075c3378bc9abd..64a64b0504f6b9e534ac729d56f9952449860db5 100644
--- a/tests/corelib/integer_to_string_test.dart
+++ b/tests/corelib/integer_to_string_test.dart
@@ -36,7 +36,7 @@ main() {
test(0x80000000, "2147483648");
test(0x80000001, "2147483649");
// ~2^32.
- test(0xffffffff, "4294967295");
+ test(0xffffffff, "4294967295");
test(0x100000000, "4294967296");
test(0x100000001, "4294967297");
@@ -72,7 +72,8 @@ main() {
int number = 10;
// Numbers 99..99, 100...00, and 100..01 up to 23 digits.
- for (int i = 1; i < 15; i++) { // Works in dart2js up to 10^15.
+ for (int i = 1; i < 15; i++) {
+ // Works in dart2js up to 10^15.
test(number - 1, "9" * i);
test(number, "1" + "0" * i);
test(number + 1, "1" + "0" * (i - 1) + "1");
« 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