Avoid non-web integer literal in language2/list_test
Change-Id: I926dc7b9e9eabd098c4561ea95e1e3568522902f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/107922 Commit-Queue: Stephen Adams <sra@google.com> Auto-Submit: Stephen Adams <sra@google.com> Reviewed-by: Leaf Petersen <leafp@google.com>
This commit is contained in:
committed by
commit-bot@chromium.org
parent
b5aeaa6796
commit
738d9f9666
@@ -36,7 +36,6 @@ const_constructor3_test/04: MissingCompileTimeError # OK - Subtype check uses JS
|
||||
const_constructor_nonconst_param_test/01: MissingCompileTimeError
|
||||
const_dynamic_type_literal_test/03: Pass # but it shouldn't until we fix issue 17207
|
||||
const_evaluation_test/01: RuntimeError
|
||||
const_list_test: RuntimeError
|
||||
const_map2_test/00: MissingCompileTimeError
|
||||
const_map3_test/00: MissingCompileTimeError
|
||||
const_switch_test/02: RuntimeError, OK # constant identity based on JS constants
|
||||
@@ -116,7 +115,6 @@ library_env_test/has_mirror_support: RuntimeError
|
||||
library_env_test/has_mirror_support: Fail # mirrors not supported on web
|
||||
library_env_test/has_no_html_support: RuntimeError, OK
|
||||
library_env_test/has_no_mirror_support: Pass # fails for the wrong reason.
|
||||
list_test: CompileTimeError, OK # Error if web int literal cannot be represented exactly, see http://dartbug.com/33351
|
||||
local_function2_test/none: RuntimeError
|
||||
local_function3_test/none: RuntimeError
|
||||
local_function_test/none: RuntimeError
|
||||
|
||||
@@ -355,7 +355,6 @@ left_shift_test: RuntimeError # Ints and doubles are unified.; Expect.equals(exp
|
||||
library_env_test/has_io_support: RuntimeError, OK # Intended to fail, bool.fromEnvironment("dart.library.async") is false
|
||||
library_env_test/has_mirror_support: RuntimeError, OK # Intended to fail, bool.fromEnvironment("dart.library.async") is false
|
||||
library_env_test/has_no_html_support: RuntimeError, OK # Intended to fail, bool.fromEnvironment("dart.library.async") is false
|
||||
list_test: CompileTimeError, OK # Error if web int literal cannot be represented exactly, see http://dartbug.com/33351
|
||||
local_function2_test/none: RuntimeError # ReferenceError: TToNull is not defined
|
||||
local_function3_test/none: RuntimeError # Expect.equals(expected: <true>, actual: <false>) fails.
|
||||
local_function_test/none: RuntimeError # Expect.equals(expected: <true>, actual: <false>) fails.
|
||||
|
||||
@@ -118,7 +118,7 @@ class ListTest {
|
||||
Expect.equals(9, element);
|
||||
|
||||
Expect.throws(() => new List(-1));
|
||||
Expect.throws(() => new List(0x7fffffffffffffff));
|
||||
Expect.throws(() => new List(0x7ffffffffffff000));
|
||||
|
||||
List list = new List();
|
||||
Expect.throwsRangeError(list.removeLast);
|
||||
|
||||
Reference in New Issue
Block a user