mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Merge branch 'master' into no-language
Conflicts: lib/linguist/heuristics.rb
This commit is contained in:
		| @@ -126,6 +126,13 @@ class TestHeuristcs < Test::Unit::TestCase | ||||
|     }) | ||||
|   end | ||||
|  | ||||
|   def test_bb_by_heuristics | ||||
|     assert_heuristics({ | ||||
|       "BitBake" => all_fixtures("BitBake"), | ||||
|       "BlitzBasic" => all_fixtures("BlitzBasic") | ||||
|     }) | ||||
|   end | ||||
|  | ||||
|   def assert_heuristics(hash) | ||||
|     candidates = hash.keys.map { |l| Language[l] } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user