| commit | 8b32c3ecb8717d7d1c02fee66ad0929b80c3caa6 | [log] [tgz] |
|---|---|---|
| author | Ahmed Ashour <asashour@yahoo.com> | Thu Jan 05 08:59:08 2023 +0000 |
| committer | Commit Queue <dart-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jan 05 08:59:08 2023 +0000 |
| tree | c120c81c3766ec8c435d206bbb7a6cecf4695938 | |
| parent | 9aa28ddc3bfe5c9879ff3697d5c6fdf2fe82c9e9 [diff] |
[CFE] `PRESUBMIT` to handle dictionaries on Windows Fixes #50891 Change-Id: Iddbbe17290548683bd141b74da5106a0be154bc9 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/278345 Reviewed-by: Jens Johansen <jensj@google.com> Commit-Queue: Jens Johansen <jensj@google.com>
diff --git a/pkg/front_end/test/spell_checking_utils.dart b/pkg/front_end/test/spell_checking_utils.dart index ecf62e8..7ba8639 100644 --- a/pkg/front_end/test/spell_checking_utils.dart +++ b/pkg/front_end/test/spell_checking_utils.dart
@@ -121,6 +121,7 @@ void addWords(Uri uri, Set<String> dictionary) { for (String word in File.fromUri(uri) .readAsStringSync() + .replaceAll("\r\n", "\n") .split("\n") .map((s) => s.toLowerCase())) { if (word.startsWith("#")) continue;