mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	Serve actual content-type, not simplified
This commit is contained in:
		| @@ -28,8 +28,8 @@ class TestBlob < Test::Unit::TestCase | ||||
|   def test_mime_type | ||||
|     assert_equal "application/octet-stream", blob("dog.o").mime_type | ||||
|     assert_equal "application/postscript", blob("octocat.ai").mime_type | ||||
|     assert_equal "application/ruby", blob("grit.rb").mime_type | ||||
|     assert_equal "application/sh", blob("script.sh").mime_type | ||||
|     assert_equal "application/x-ruby", blob("grit.rb").mime_type | ||||
|     assert_equal "application/x-sh", blob("script.sh").mime_type | ||||
|     assert_equal "application/xml", blob("bar.xml").mime_type | ||||
|     assert_equal "text/plain", blob("README").mime_type | ||||
|   end | ||||
|   | ||||
		Reference in New Issue
	
	Block a user