Kill unused Pathname #media_type and #sub_type

This commit is contained in:
Joshua Peek
2011-06-01 23:19:11 -05:00
parent c41b9c13cc
commit 68110310a7
2 changed files with 0 additions and 30 deletions

View File

@@ -63,10 +63,4 @@ class TestPathname < Test::Unit::TestCase
assert_equal 'text/plain; charset=utf-8', Pathname.new("file.rb").content_type
assert_equal 'image/png', Pathname.new("octocat.png").content_type
end
def test_media_type
assert_equal 'text', Pathname.new("file.js").media_type
assert_equal 'text', Pathname.new("file.txt").media_type
assert_equal 'text', Pathname.new("defun.kt").media_type
end
end