Skip to content

Commit

Permalink
Add test to verify that file is only included once in archive
Browse files Browse the repository at this point in the history
As of the switch (in 4511f5d) to use git ls-files to list files to include in
archive, duplicate matches are automatically removed (fixes #125).
  • Loading branch information
erijo committed Jan 27, 2025
1 parent 02b4019 commit 1505b7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_unit_parse_encrypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ def create_test_encrypt_data(paths):

# wildcards
edata += "wild*\n"
edata += "*card1\n" # matches same file as the one above
paths.work.join("wildcard1").write("", ensure=True)
paths.work.join("wildcard2").write("", ensure=True)
expected.add("wildcard1")
Expand Down

0 comments on commit 1505b7e

Please sign in to comment.