Bumping to v4.8.18 (#3370)

* make tests great again 

* version bump

* removing empty line in gemspec
This commit is contained in:
Brandon Black
2016-12-07 11:39:49 -08:00
committed by GitHub
parent 3988f3e7a7
commit 2c78dd2c66
5 changed files with 14 additions and 7 deletions

View File

@@ -4,7 +4,11 @@ class TestShebang < Minitest::Test
include Linguist
def assert_interpreter(interpreter, body)
assert_equal interpreter, Shebang.interpreter(body)
if interpreter.nil?
assert_nil Shebang.interpreter(body)
else
assert_equal interpreter, Shebang.interpreter(body)
end
end
def test_shebangs