mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
Merge pull request #253 from Tass/master
Binary mime type override if languages.yml says so
This commit is contained in:
@@ -24,4 +24,8 @@ class TestRepository < Test::Unit::TestCase
|
||||
def test_linguist_size
|
||||
assert linguist_repo.size > 30_000
|
||||
end
|
||||
|
||||
def test_binary_override
|
||||
assert_equal repo(File.expand_path("../../samples/Nimrod", __FILE__)).language, Language["Nimrod"]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user