mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 14:49:43 +00:00
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:
parent
c084056d45
commit
b815ddc2b8
|
@ -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 {}
|
||||
''', [
|
||||
|
|
Loading…
Reference in a new issue