summaryrefslogtreecommitdiffstats
path: root/tests/identify_test.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-10-08 09:05:23 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-10-08 09:05:23 +0000
commitd92d340d3bc8a69a3f9bdc16b3cc70abbe681e9d (patch)
tree625ea49a0aadd03998db0143b2e10aac90e4124e /tests/identify_test.py
parentAdding upstream version 2.2.14. (diff)
downloadidentify-293bdc6e22c49a5517d3c928a9112f7ff947a83e.tar.xz
identify-293bdc6e22c49a5517d3c928a9112f7ff947a83e.zip
Adding upstream version 2.3.0.upstream/2.3.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/identify_test.py')
-rw-r--r--tests/identify_test.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/identify_test.py b/tests/identify_test.py
index ec40cdf..5a8bbcc 100644
--- a/tests/identify_test.py
+++ b/tests/identify_test.py
@@ -314,6 +314,8 @@ def test_file_is_text_does_not_exist(tmpdir):
(b'\xf9\x93\x01\x42\xcd', ()),
(b'#!\xf9\x93\x01\x42\xcd', ()),
(b'#!\x00\x00\x00\x00', ()),
+ # shebang lines with multiple arguments
+ (b'#!/usr/bin/env -S python -u', ('python', '-u')),
),
)
def test_parse_shebang(s, expected):