mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
add detection for Dart
This commit is contained in:
@@ -430,6 +430,9 @@ class TestBlob < Test::Unit::TestCase
|
||||
|
||||
# Julia: http://julialang.org/
|
||||
assert_equal Language['Julia'], blob("stockcorr.jl").language
|
||||
|
||||
# Dart: http://dartlang.org/
|
||||
assert_equal Language['Dart'], blob("point.dart").language
|
||||
end
|
||||
|
||||
def test_lexer
|
||||
@@ -442,6 +445,7 @@ class TestBlob < Test::Unit::TestCase
|
||||
assert_equal Lexer['Tea'], blob("foo.tea").lexer
|
||||
assert_equal Lexer['vhdl'], blob("foo.vhd").lexer
|
||||
assert_equal Lexer['Julia'], blob("stockcorr.jl").lexer
|
||||
assert_equal Lexer['Dart'], blob("point.dart").lexer
|
||||
end
|
||||
|
||||
def test_shebang_script
|
||||
|
||||
Reference in New Issue
Block a user