mirror of
https://github.com/dart-lang/sdk
synced 2024-09-06 00:59:09 +00:00
![]() 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> |
||
---|---|---|
.. | ||
co19 | ||
co19_2 | ||
corelib | ||
corelib_2 | ||
dartdevc | ||
dartdevc_2 | ||
ffi | ||
ffi_2 | ||
language | ||
language_2 | ||
lib | ||
lib_2 | ||
modular | ||
standalone | ||
standalone_2 | ||
web | ||
web_2 | ||
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.