Attempt to fix the windows bot

Change-Id: I23ac16a4a3acdc5efaddf997133aa54d4f366a95
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/287240
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Reviewed-by: Phil Quitslund <pquitslund@google.com>
Reviewed-by: Kallen Tu <kallentu@google.com>
This commit is contained in:
Brian Wilkerson 2023-03-07 22:35:13 +00:00 committed by Commit Queue
parent c084056d45
commit b815ddc2b8

View file

@ -49,7 +49,8 @@ class C extends A {}
}
test_class_base_extends_multiple_files() async {
await assertErrorsInFile('$testPackageLibPath/a.dart', r'''
await assertErrorsInFile(
resourceProvider.convertPath('$testPackageLibPath/a.dart'), r'''
base class A {}
class B extends A {}
''', [
@ -61,7 +62,8 @@ class B extends A {}
text:
"The type 'B' must be 'base', 'final' or 'sealed' because the supertype 'A' is 'base'."),
]);
await assertErrorsInFile('$testPackageLibPath/c.dart', r'''
await assertErrorsInFile(
resourceProvider.convertPath('$testPackageLibPath/c.dart'), r'''
import 'a.dart';
class C extends B {}
''', [