mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Improve .cls language detection
This commit is contained in:
		| @@ -10,7 +10,7 @@ class TestLanguage < Test::Unit::TestCase | ||||
|  | ||||
|   def test_ambiguous_extensions | ||||
|     assert Language.ambiguous?('.cls') | ||||
|     assert_equal Language['OpenEdge ABL'], Language.find_by_extension('cls') | ||||
|     assert_equal Language['TeX'], Language.find_by_extension('cls') | ||||
|  | ||||
|     assert Language.ambiguous?('.h') | ||||
|     assert_equal Language['C'], Language.find_by_extension('h') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user