dart-sdk/tests/language/bool
Vyacheslav Egorov 7348441514 [tests] Fix language/bool/has_environment_not_new
This test always fails on the VM because unlike other
targets VM allows to invoke this constructor with `new`.

Instead of having an always failing test change this test
to test VM's current behavior. This will also allow us to
catch breaking changes in the future.

Closes https://github.com/dart-lang/sdk/issues/53183

R=eernst@google.com

Change-Id: I4ba63dc94d2bd824df44c604b0ca1c57eb8bd559
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/338124
Commit-Queue: Slava Egorov <vegorov@google.com>
Reviewed-by: Erik Ernst <eernst@google.com>
2023-11-28 12:50:05 +00:00
..
bool_test.dart
check_strong_test.dart [tests/nnbd] Fork language/bool tests for weak and strong mode 2020-04-01 00:35:37 +00:00
check_weak_test.dart [tests/nnbd] Fork language/bool tests for weak and strong mode 2020-04-01 00:35:37 +00:00
condition_check_strong_test.dart Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
condition_check_weak_test.dart Remove uses of : as default value separator in some tests/ directories. 2022-09-07 14:49:17 +00:00
conditional_expression_condition_context_error_test.dart Fix context type for conditionals of conditional expressions. 2022-01-24 01:25:38 +00:00
has_environment_not_new_test.dart [tests] Fix language/bool/has_environment_not_new 2023-11-28 12:50:05 +00:00
has_environment_test.dart