Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

catch file system exception in constfindertest #37586

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion tools/const_finder/test/const_finder_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,11 @@ class _Test {
void dispose() {
for (final String resource in resourcesToDispose) {
stdout.writeln('Deleting $resource');
File(resource).deleteSync();
try {
File(resource).deleteSync();
} on FileSystemException catch (err) {
stderr.writeln(err.toString());
}
}
}

Expand Down