mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 16:41:07 +00:00
Fix after merging 2 CLs that touch assertErrorsInFile2() and are not compatible.
Change-Id: I261e5f08ad9af05d7c265948762c391314377d02 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/352105 Auto-Submit: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Jacob Richman <jacobr@google.com> Commit-Queue: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Commit-Queue: Konstantin Shcheglov <scheglov@google.com> Reviewed-by: Jacob Richman <jacobr@google.com>
This commit is contained in:
parent
b6799fed19
commit
cd23ab4e59
|
@ -3,7 +3,6 @@
|
||||||
// BSD-style license that can be found in the LICENSE file.
|
// BSD-style license that can be found in the LICENSE file.
|
||||||
|
|
||||||
import 'package:analyzer/src/error/codes.dart';
|
import 'package:analyzer/src/error/codes.dart';
|
||||||
import 'package:analyzer/src/utilities/extensions/file_system.dart';
|
|
||||||
import 'package:test_reflective_loader/test_reflective_loader.dart';
|
import 'package:test_reflective_loader/test_reflective_loader.dart';
|
||||||
|
|
||||||
import '../dart/resolution/context_collection_resolution.dart';
|
import '../dart/resolution/context_collection_resolution.dart';
|
||||||
|
@ -31,9 +30,9 @@ class A implements I<int> {}
|
||||||
class B extends A {}
|
class B extends A {}
|
||||||
''');
|
''');
|
||||||
|
|
||||||
await assertErrorsInFile2(a.posixPath, []);
|
await assertErrorsInFile2(a, []);
|
||||||
|
|
||||||
await assertErrorsInFile2(testFile.posixPath, [
|
await assertErrorsInFile2(testFile, [
|
||||||
error(CompileTimeErrorCode.CONFLICTING_GENERIC_INTERFACES, 75, 1),
|
error(CompileTimeErrorCode.CONFLICTING_GENERIC_INTERFACES, 75, 1),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue