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

Unified Diff: tests/language_strong/list_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/language/vm/integer_type_propagation_test.dart ('k') | tests/standalone/regress_25335_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language_strong/list_test.dart
diff --git a/tests/language_strong/list_test.dart b/tests/language_strong/list_test.dart
index 76dcb5a8664497b2e9f63dac131a00ad5708392c..053dcd14e1da70bf1b90d4214c0848b566106987 100644
--- a/tests/language_strong/list_test.dart
+++ b/tests/language_strong/list_test.dart
@@ -121,7 +121,7 @@ class ListTest {
() => unsorted[2.1], (e) => e is ArgumentError || e is TypeError);
Expect.throws(() => new List(-1));
- Expect.throws(() => new List(99999999999999999999999));
+ Expect.throws(() => new List(0x7fffffffffffffff));
List list = new List();
// We cannot write just 'list.removeLast' due to issue 3769.
« no previous file with comments | « tests/language/vm/integer_type_propagation_test.dart ('k') | tests/standalone/regress_25335_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698