dart-sdk/tests
Alexander Markov b285115893 [tests] Fix expectations in language/async_star/async_star_await_for_test
According to the language specification:
1) When 'break' is executed in the 'await for' loop (in 'main'),
the underlying stream subscription is canceled.
2) When async* function ('consume') has stopped at 'yield' or 'yield*',
and the stream is canceled, the 'yield' / 'yield*' statement returns
without an object. It also means that code in 'consume()' after
the loop is not executed and it doesn't append ")" to the log.
So the test expectations are fixed to avoid expecting trailing ")"
at the log when there is a 'break' out of the 'await for' loop.

Fixes https://github.com/dart-lang/sdk/issues/51097

Change-Id: Ia59e87ef84dcb8a0c06a47f497cc97d4c6635d27
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/285343
Reviewed-by: Lasse Nielsen <lrn@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2023-02-27 16:25:50 +00:00
..
co19 [dart2js, ddc] Skip flaky tests 2023-02-13 23:44:59 +00:00
co19_2 [dart2js, ddc] Skip flaky tests 2023-02-13 23:44:59 +00:00
corelib [dart2js, ddc] Skip flaky tests 2023-02-13 23:44:59 +00:00
corelib_2 [dart2js, ddc] Skip flaky tests 2023-02-13 23:44:59 +00:00
dartdevc [test_runner] Unify name for passing DDC options 2023-02-14 20:13:57 +00:00
dartdevc_2 [test_runner] Add new name for ddc compiler 2023-02-09 18:32:58 +00:00
ffi [test/ffi] Beef up @Native testing 2023-02-24 21:16:50 +00:00
ffi_2 [vm] Fix Dart_CObject_Type breaking change 2023-02-20 11:59:19 +00:00
language [tests] Fix expectations in language/async_star/async_star_await_for_test 2023-02-27 16:25:50 +00:00
language_2 [tests] Fix expectations in language/async_star/async_star_await_for_test 2023-02-27 16:25:50 +00:00
lib Revert "[dart:js_interop] Add literal constructors for inline classes" 2023-02-24 20:42:14 +00:00
lib_2 Optimize LineSplitter. 2023-02-21 11:33:24 +00:00
modular [Reland][cfe] Support external constructor with final fields 2023-01-17 17:29:28 +00:00
standalone [test] Add missing resource dependency to web_socket_error_test. 2023-02-14 19:22:14 +00:00
standalone_2 Fix unbalanced call to Dart_TypedDataAcquireData. 2023-02-14 01:44:17 +00:00
web Revert "[dart:js_interop] Add literal constructors for inline classes" 2023-02-24 20:42:14 +00:00
web_2 [test_runner] Unify name for passing DDC options 2023-02-14 20:13:57 +00:00
legacy_status_dart2js.csv Spelling tests 2022-12-19 12:56:47 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +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.