dart-sdk/pkg/analyzer_utilities/lib
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
..
testing analyzer_utilities: tidy static analysis 2022-11-28 18:11:03 +00:00
html_dom.dart [analyzer] Separate the HTML parser utility from the DOM 2023-03-08 03:06:19 +00:00
html_generator.dart Add a lightweight parser for the analyzer spec (remove sdk deps on package:html). 2022-06-25 00:34:40 +00:00
html_parser.dart [analyzer] Separate the HTML parser utility from the DOM 2023-03-08 03:06:19 +00:00
package_root.dart [analyzer_utilities] Find pkg folder from working directory 2023-06-02 18:24:00 +00:00
text_formatter.dart Use mixins for analyzer packages, to prepate for language 3.0 2023-03-23 23:57:53 +00:00
tools.dart [analysis_server] Fix generation tests on Windows 2023-06-04 19:18:51 +00:00
verify_tests.dart Automate checking for solo tests 2023-03-06 22:53:37 +00:00