From 1505b7ec8f3deefb31429c0ee6599944f0974c09 Mon Sep 17 00:00:00 2001 From: Erik Flodin Date: Mon, 27 Jan 2025 21:54:10 +0100 Subject: [PATCH] Add test to verify that file is only included once in archive As of the switch (in 4511f5d9) to use git ls-files to list files to include in archive, duplicate matches are automatically removed (fixes #125). --- test/test_unit_parse_encrypt.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_unit_parse_encrypt.py b/test/test_unit_parse_encrypt.py index d7db41a..2acac15 100644 --- a/test/test_unit_parse_encrypt.py +++ b/test/test_unit_parse_encrypt.py @@ -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")