Added detection of the Tea language.

This commit is contained in:
Brian R. Jackson
2012-03-19 17:36:23 -04:00
parent 777f5a3b87
commit a8660ea80f
3 changed files with 11 additions and 0 deletions

View File

@@ -412,6 +412,9 @@ class TestBlob < Test::Unit::TestCase
# OpenEdge ABL / Progress
assert_equal Language['OpenEdge ABL'], blob("openedge.p").language
# Tea
assert_equal Language['Tea'], blob("foo.tea").language
end
def test_lexer
@@ -421,6 +424,7 @@ class TestBlob < Test::Unit::TestCase
assert_equal Lexer['Ruby'], blob("grit.rb").lexer
assert_equal Lexer['Scheme'], blob("dude.el").lexer
assert_equal Lexer['Text only'], blob("README").lexer
assert_equal Lexer['Tea'], blob("foo.tea").lexer
end
def test_shebang_script