Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Commit

Permalink
Ensure tests are explicit about mutating extensions.
Browse files Browse the repository at this point in the history
  • Loading branch information
tugorez committed Feb 20, 2021
1 parent e796bfd commit 506ea90
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ void main() {
final extensions = ['.txt', '.jpg'];
final group = XTypeGroup(extensions: extensions);

expect(group.extensions, extensions);
expect(group.extensions, ['txt', 'jpg']);
});
});
Expand Down

0 comments on commit 506ea90

Please sign in to comment.