summaryrefslogtreecommitdiffstats
path: root/tests/identify_test.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-13 10:55:09 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-07-13 10:55:09 +0000
commit85f251a54f9a6b4a1bccdcbaec8784e32da8df38 (patch)
tree55b2661dc5b9a8cfacdd9c817c3c842736d69d4b /tests/identify_test.py
parentReleasing debian version 2.5.36-1. (diff)
downloadidentify-85f251a54f9a6b4a1bccdcbaec8784e32da8df38.tar.xz
identify-85f251a54f9a6b4a1bccdcbaec8784e32da8df38.zip
Merging upstream version 2.6.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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):