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

Unified Diff: tests/corelib_strong/hash_set_test.dart

Issue 2988803002: Adjust some tests for limited 64-bit integers (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/corelib_strong/growable_list_test.dart ('k') | tests/language/bit_shift_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib_strong/hash_set_test.dart
diff --git a/tests/corelib_strong/hash_set_test.dart b/tests/corelib_strong/hash_set_test.dart
index 12c0630674222a6913406575308ee65ea96684e1..a274c026d51322d77965c34b74a504ad41663ada 100644
--- a/tests/corelib_strong/hash_set_test.dart
+++ b/tests/corelib_strong/hash_set_test.dart
@@ -275,7 +275,7 @@ testSet(Set newSet(), Set newSetFrom(Iterable from)) {
Set set = newSet();
List keys = [];
// Powers of two
- for (int i = 65; i >= 2; --i) {
+ for (int i = 63; i >= 2; --i) {
keys.add(new Mutable(math.pow(2, i)));
}
for (var key in keys) {
« no previous file with comments | « tests/corelib_strong/growable_list_test.dart ('k') | tests/language/bit_shift_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698