Add tests for shebangs

This commit is contained in:
Brandon Keepers
2014-11-27 13:09:05 -05:00
parent cd3defda42
commit 434ab9f2c0
2 changed files with 37 additions and 5 deletions

View File

@@ -82,9 +82,4 @@ class TestSamples < Test::Unit::TestCase
end
end
end
def test_shebang
assert_equal "crystal", Linguist.interpreter_from_shebang("#!/usr/bin/env bin/crystal")
assert_equal "python2", Linguist.interpreter_from_shebang("#!/usr/bin/python2.4")
end
end