Skip to content

Commit

Permalink
Fix after merging 2 CLs that touch assertErrorsInFile2() and are not …
Browse files Browse the repository at this point in the history
…compatible.

Change-Id: I261e5f08ad9af05d7c265948762c391314377d02
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/352105
Auto-Submit: Konstantin Shcheglov <[email protected]>
Commit-Queue: Jacob Richman <[email protected]>
Commit-Queue: Brian Wilkerson <[email protected]>
Reviewed-by: Brian Wilkerson <[email protected]>
Commit-Queue: Konstantin Shcheglov <[email protected]>
Reviewed-by: Jacob Richman <[email protected]>
  • Loading branch information
scheglov authored and Commit Queue committed Feb 13, 2024
1 parent b6799fe commit cd23ab4
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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),
]);
}
Expand Down

0 comments on commit cd23ab4

Please sign in to comment.