Skip to content

Commit 1505b7e

Browse files
committed
Add test to verify that file is only included once in archive
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).
1 parent 02b4019 commit 1505b7e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

test/test_unit_parse_encrypt.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ def create_test_encrypt_data(paths):
9797

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

0 commit comments

Comments
 (0)