mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Exclude 'filenames' from all_fixtures.
This commit is contained in:
@@ -13,7 +13,8 @@ class TestHeuristcs < Minitest::Test
|
||||
end
|
||||
|
||||
def all_fixtures(language_name, file="*")
|
||||
Dir.glob("#{samples_path}/#{language_name}/#{file}")
|
||||
Dir.glob("#{samples_path}/#{language_name}/#{file}") -
|
||||
["#{samples_path}/#{language_name}/filenames"]
|
||||
end
|
||||
|
||||
def test_no_match
|
||||
|
||||
Reference in New Issue
Block a user