mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Regenerating samples.json and bringing C++ heuristic test up to date
This commit is contained in:
		| @@ -30,7 +30,7 @@ class TestHeuristcs < Test::Unit::TestCase | ||||
|     | ||||
|   def test_cpp_by_heuristics | ||||
|     languages = ["C++", "Objective-C"] | ||||
|     results = Heuristics.find_by_heuristics(fixture("C++/render_adapter.cpp"), languages) | ||||
|     results = Heuristics.disambiguate_h(fixture("C++/render_adapter.cpp"), languages) | ||||
|     assert_equal Language["C++"], results.first | ||||
|   end | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user