dart-sdk/pkg/test_runner
David Morgan dd828b4be5 [test_runner] Fix expectations on Windows when there are import loops.
The checking for loops did not normalize the first entry, causing the
expectation to be read twice in case of a loop, and the test to fail.

Simplify a little by checking when adding to the "already seen" set.

R=brianwilkerson@google.com

Change-Id: I1862f98051fc5e4f867fdf0d9b1b0884b99610ec
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/353681
Reviewed-by: William Hesse <whesse@google.com>
Auto-Submit: Morgan :) <davidmorgan@google.com>
Commit-Queue: William Hesse <whesse@google.com>
2024-02-23 12:10:18 +00:00
..
bin
lib [test_runner] Fix expectations on Windows when there are import loops. 2024-02-23 12:10:18 +00:00
test [test_runner] Fix static_error_test on Windows. 2024-02-21 09:46:42 +00:00
tool [test] Check all local files for error strings. 2024-02-20 09:31:21 +00:00
.gitignore
analysis_options.yaml [pkg] remove duplicate config from the analysis options files 2023-11-14 00:37:53 +00:00
OWNERS
pubspec.yaml