Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit e150bf6

Browse files
scheglovcommit-bot@chromium.org
authored andcommitted
Fix tests for missing required SDK libraries on Windows.
I have not tried them on Windows, hopefully it will help. R=brianwilkerson@google.com Change-Id: I1446a834f95398979337db4b887e3d76c3ec164f Reviewed-on: https://dart-review.googlesource.com/48880 Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
1 parent b970d83 commit e150bf6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/analyzer/test/src/dart/analysis/driver_test.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7845,7 +7845,7 @@ import 'b.dart';
78457845
}
78467846

78477847
test_missingDartLibrary_async() async {
7848-
provider.getFile(MockSdk.FULL_URI_MAP['dart:async']).delete();
7848+
provider.getFile(_p(MockSdk.FULL_URI_MAP['dart:async'])).delete();
78497849
addTestFile('class C {}');
78507850

78517851
ErrorsResult result = await driver.getErrors(testFile);
@@ -7856,7 +7856,7 @@ import 'b.dart';
78567856
}
78577857

78587858
test_missingDartLibrary_core() async {
7859-
provider.getFile(MockSdk.FULL_URI_MAP['dart:core']).delete();
7859+
provider.getFile(_p(MockSdk.FULL_URI_MAP['dart:core'])).delete();
78607860
addTestFile('class C {}');
78617861

78627862
ErrorsResult result = await driver.getErrors(testFile);

0 commit comments

Comments
 (0)