dart-sdk/tests
Robert Nystrom 4bfb196287 Fix web_int_literals_test.dart.
This test was inadvertently broken when automatically migrated from a
multitest to a static error test.

The original intent of the test was to ensure that web compilers
reported compile-time errors on integer literals that couldn't be
represented as JS doubles. The migrated static error test doesn't have
any web expectations and thus doesn't get run on web compilers at all.
Instead, all it does is validate that the one non-web error in there is
reported.

This turns the test into a proper *web* static error test with the
web-specific test expectations in there. That ensures the test is run
on web compilers and validates that the web compilers produce those
expected errors.

Also removed the corresponding runtime test since it doesn't do
anything. There's no runtime behavior to test, and the static error
test also correctly validates that the *valid* integer literals do *not*
produce compile errors.

Removed the status file entries because they're no longer needed. Since
this is a static error test, the runtime platforms already skip it
implicitly.

Change-Id: I2776847e1acb88b1f761efb43e7bb528b27d0eee
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/297840
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Nicholas Shahan <nshahan@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
2023-04-25 21:28:39 +00:00
..
co19 [test] Introduce status variable $simulator, and fix some cases missing simarm_x64. 2023-04-04 03:10:26 +00:00
co19_2 [test] Introduce status variable $simulator, and fix some cases missing simarm_x64. 2023-04-04 03:10:26 +00:00
corelib [gardening] Update status files after starting to run tests in obfucated/dwarf nnbd mode 2023-04-21 10:13:57 +00:00
corelib_2 Migrate corelib and lib tests off @compile-error. 2023-04-20 19:19:01 +00:00
dartdevc [flip-modifiers]: opt out failing ddc tests from class modifiers 2023-03-02 20:27:25 +00:00
dartdevc_2 [test_runner] Cleanup unused compiler names 2023-03-07 02:09:16 +00:00
ffi [test/ffi] Format record types 2023-04-21 08:23:57 +00:00
ffi_2 Reland "[vm] Expose Dart_{CurrentIsolate,ExitIsolate,EnterIsolate}" 2023-04-13 09:20:17 +00:00
language Fix web_int_literals_test.dart. 2023-04-25 21:28:39 +00:00
language_2 Migrate "u" and "v" directory language tests off @compile-error. 2023-04-20 22:33:22 +00:00
lib Migrate corelib and lib tests off @compile-error. 2023-04-20 19:19:01 +00:00
lib_2 Migrate corelib and lib tests off @compile-error. 2023-04-20 19:19:01 +00:00
modular
standalone Fix SSL certificate check when hostname is an IP address 2023-04-25 16:06:12 +00:00
standalone_2 Fix SSL certificate check when hostname is an IP address 2023-04-25 16:06:12 +00:00
web Revert "Reland "[pkg:js/dart:js_interop] Move annotations to dart:_js_annotations"" 2023-04-06 14:43:18 +00:00
web_2 Remove left-over patch declarations for List constructor. 2023-04-22 00:38:28 +00:00
legacy_status_dart2js.csv
OWNERS
README.md

This directory contains tests of the language and core library implementations. For more information, see https://github.com/dart-lang/sdk/wiki/Testing.