mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Adding explicit test for new shebang parsing
This commit is contained in:
@@ -38,6 +38,7 @@ class TestShebang < Minitest::Test
|
||||
assert_interpreter "perl", "#! perl"
|
||||
|
||||
assert_interpreter "ruby", "#!/bin/sh\n\n\nexec ruby $0 $@"
|
||||
end
|
||||
|
||||
assert_interpreter "sh", "#! /usr/bin/env A=003 B=149 C=150 D=xzd E=base64 F=tar G=gz H=head I=tail sh"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user