add detection for Arch Linux PKGBUILDs

This commit is contained in:
Daniel Micay
2012-05-08 07:39:48 -04:00
parent aa7c8497b1
commit be42a8411b
4 changed files with 49 additions and 0 deletions

View File

@@ -434,6 +434,9 @@ class TestBlob < Test::Unit::TestCase
# Dart: http://dartlang.org/
assert_equal Language['Dart'], blob("point.dart").language
# Arch Linux PKGBUILD
assert_equal Language['Shell'], blob("PKGBUILD").language
end
def test_lexer
@@ -447,6 +450,7 @@ class TestBlob < Test::Unit::TestCase
assert_equal Lexer['vhdl'], blob("foo.vhd").lexer
assert_equal Lexer['Julia'], blob("stockcorr.jl").lexer
assert_equal Lexer['Dart'], blob("point.dart").lexer
assert_equal Lexer['Bash'], blob("PKGBUILD").lexer
end
def test_shebang_script