From b6505c4dd8ccf016c283a3e85406fe0e32e79069 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 8 Oct 2021 11:05:27 +0200 Subject: Merging upstream version 2.3.0. Signed-off-by: Daniel Baumann --- tests/identify_test.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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): -- cgit v1.2.3