From cd23ab4e59e8e5c0f50ca54d91f91c0ab774a91e Mon Sep 17 00:00:00 2001 From: Konstantin Shcheglov Date: Tue, 13 Feb 2024 00:59:00 +0000 Subject: [PATCH] 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 Commit-Queue: Jacob Richman Commit-Queue: Brian Wilkerson Reviewed-by: Brian Wilkerson Commit-Queue: Konstantin Shcheglov Reviewed-by: Jacob Richman --- .../src/diagnostics/conflicting_generic_interfaces_test.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/analyzer/test/src/diagnostics/conflicting_generic_interfaces_test.dart b/pkg/analyzer/test/src/diagnostics/conflicting_generic_interfaces_test.dart index e5e555ab1ce..9065c83bcfe 100644 --- a/pkg/analyzer/test/src/diagnostics/conflicting_generic_interfaces_test.dart +++ b/pkg/analyzer/test/src/diagnostics/conflicting_generic_interfaces_test.dart @@ -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 {} 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), ]); }