mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Allow any enum to be passed to Repository for stat collecting
Fixes #28
This commit is contained in:
@@ -13,11 +13,6 @@ class TestRepository < Test::Unit::TestCase
|
||||
repo(File.expand_path("../..", __FILE__))
|
||||
end
|
||||
|
||||
def test_lookup_path
|
||||
assert linguist_repo['lib/linguist.rb']
|
||||
assert_equal Language['Ruby'], linguist_repo['lib/linguist.rb'].language
|
||||
end
|
||||
|
||||
def test_linguist_language
|
||||
assert_equal Language['JavaScript'], linguist_repo.language
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user