dart-sdk/tests
Lasse R.H. Nielsen 8ab3dcf709 Make ArgumentError.check* functions return the valid argument.
This makes these checks useful in situations where you don't want to spend
an extra statement, like `=>` bodies or initializer lists (including
forwarding generative constructors).

Change-Id: Ia55b8741a7c75af631db48ac70e64597d8f96c73
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/135649
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Reviewed-by: Bob Nystrom <rnystrom@google.com>
2020-03-23 18:00:09 +00:00
..
co19
co19_2 [nnbd] skip runes tests that are no longer valid 2020-03-03 16:16:21 +00:00
compiler [cfe] Don't report nnbd errors/warnings in top level inference 2020-03-23 16:39:03 +00:00
corelib Make ArgumentError.check* functions return the valid argument. 2020-03-23 18:00:09 +00:00
corelib_2 Make ArgumentError.check* functions return the valid argument. 2020-03-23 18:00:09 +00:00
ffi [Cleanup] Removes deprecated --enable-inlining-annotations; updates annotation. 2020-02-25 12:09:10 +00:00
ffi_2 [vm/ffi] Change asFunction and lookFunction to extension methods 2020-02-14 15:46:37 +00:00
kernel [VM] Fixes bad reuse/typing of temps in async transform invocations. 2020-03-06 12:20:45 +00:00
language [cfe] Don't report nnbd errors/warnings in top level inference 2020-03-23 16:39:03 +00:00
language_2 [cfe] Don't report nnbd errors/warnings in top level inference 2020-03-23 16:39:03 +00:00
lib Adjust tests where a TypeError may occur to also expect ArgumentError 2020-03-20 17:23:19 +00:00
lib_2 Make StackTrace generally not nullable in migrated NNBD library. 2020-03-19 23:31:30 +00:00
modular
standalone [dart:io] support Unix domain communications 2020-03-23 03:51:40 +00:00
standalone_2 [dart:io] support Unix domain communications 2020-03-23 03:51:40 +00:00
legacy_status_dart2js.csv Disallow non-external generative JS constructors 2020-03-06 17:06:39 +00:00
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.