summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-13 10:55:06 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-13 10:55:06 +0000
commit747011e0097c24208f77f9897601c76190fbc52e (patch)
treeb27ccfc173eaa7e3b9ab7e7b75ba005d4443bd6b /tests
parentAdding upstream version 2.5.36. (diff)
downloadidentify-747011e0097c24208f77f9897601c76190fbc52e.tar.xz
identify-747011e0097c24208f77f9897601c76190fbc52e.zip
Adding upstream version 2.6.0.upstream/2.6.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests')
-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 bb8aba5..c0e5410 100644
--- a/tests/identify_test.py
+++ b/tests/identify_test.py
@@ -325,6 +325,8 @@ def test_file_is_text_does_not_exist(tmpdir):
(b'#!\x00\x00\x00\x00', ()),
# shebang lines with multiple arguments
(b'#!/usr/bin/env -S python -u', ('python', '-u')),
+ (b'#!/usr/bin/env', ()),
+ (b'#!/usr/bin/env -S', ()),
),
)
def test_parse_shebang(s, expected):