From 9f302f7d35c9ab15dca9ab6a76fb9201db9749f7 Mon Sep 17 00:00:00 2001 From: Kevin Moore Date: Wed, 11 Dec 2024 17:52:26 -0800 Subject: [PATCH] Update pkgs/file_testing/lib/src/testing/core_matchers.dart Co-authored-by: Nate Bosch --- pkgs/file_testing/lib/src/testing/core_matchers.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/file_testing/lib/src/testing/core_matchers.dart b/pkgs/file_testing/lib/src/testing/core_matchers.dart index 2de9cc595..801209e89 100644 --- a/pkgs/file_testing/lib/src/testing/core_matchers.dart +++ b/pkgs/file_testing/lib/src/testing/core_matchers.dart @@ -71,7 +71,7 @@ void expectFileSystemException(dynamic osErrorCode, void Function() callback) { /// Matcher that successfully matches against a [FileSystemEntity] that /// exists ([FileSystemEntity.existsSync] returns true). -final TypeMatcher exists = +final TypeMatcher exists = isFileSystemEntity.having((e) => e.existsSync(), 'existsSync', true); Matcher? _fileExceptionWrapMatcher(dynamic osErrorCode) =>