aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/plugin_tests.py4
-rw-r--r--tests/test.txt1
2 files changed, 5 insertions, 0 deletions
diff --git a/tests/plugin_tests.py b/tests/plugin_tests.py
index 989b1d3e..00f221d3 100644
--- a/tests/plugin_tests.py
+++ b/tests/plugin_tests.py
@@ -247,6 +247,10 @@ class AddCopySpecTests(unittest.TestCase):
self.mp.add_copy_spec('tests/tail_test.*')
self.assert_expect_paths()
+ def test_multiple_files(self):
+ self.mp.add_copy_spec(['tests/tail_test.txt', 'tests/test.txt'])
+ self.assertEquals(len(self.mp.copy_paths), 2)
+
# add_copy_spec_limit()
def test_single_file_under_limit(self):
diff --git a/tests/test.txt b/tests/test.txt
new file mode 100644
index 00000000..d95f3ad1
--- /dev/null
+++ b/tests/test.txt
@@ -0,0 +1 @@
+content