dart-sdk/pkg/analyzer_utilities
Danny Tuppeny c739cbfd7b [analysis_server] Fix generation tests on Windows
The check normalises newlines from "actualContents", but "expectedContents" could also contain \r\n on Windows (at least it does for me), so this just normalises both.

The additional await/async is to prevent "Test failed after it already completed" warnings because this code is inside the call to test() (and not wrapping it, like the other .main() calls in the file).

Change-Id: Iac034efaf1a8a6dad4a21dc67a2dfdb74092dd22
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/307301
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
2023-06-04 19:18:51 +00:00
..
lib [analysis_server] Fix generation tests on Windows 2023-06-04 19:18:51 +00:00
analysis_options.yaml linter 1.33.0 rc 2023-02-07 20:56:35 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
pubspec.yaml Remove fluent check(). 2022-09-27 19:15:55 +00:00
README.md

A set of utilities used by the tools in several analyzer-related packages.

Not meant to be published.