Skip to content

Commit

Permalink
Update pkgs/file_testing/lib/src/testing/core_matchers.dart
Browse files Browse the repository at this point in the history
Co-authored-by: Nate Bosch <[email protected]>
  • Loading branch information
kevmoo and natebosch authored Dec 12, 2024
1 parent 61812f4 commit 9f302f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/file_testing/lib/src/testing/core_matchers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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<FileSystemEntity> exists =
isFileSystemEntity.having((e) => e.existsSync(), 'existsSync', true);

Matcher? _fileExceptionWrapMatcher(dynamic osErrorCode) =>
Expand Down

0 comments on commit 9f302f7

Please sign in to comment.