1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-08 12:06:26 +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:
Konstantin Shcheglov 2024-02-13 00:59:00 +00:00 committed by Commit Queue
parent b6799fed19
commit cd23ab4e59

View File

@ -3,7 +3,6 @@
// BSD-style license that can be found in the LICENSE file.
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 '../dart/resolution/context_collection_resolution.dart';
@ -31,9 +30,9 @@ class A implements I<int> {}
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),
]);
}