Commit 33ca30a8 by Ali Ismayilov

Sort text/html extensions by priority

parent 01f92d86
...@@ -44,7 +44,7 @@ class TestMimeMagic < Minitest::Test ...@@ -44,7 +44,7 @@ class TestMimeMagic < Minitest::Test
end end
def test_have_extensions def test_have_extensions
assert_equal %w(htm html), MimeMagic.new('text/html').extensions assert_equal %w(html htm), MimeMagic.new('text/html').extensions
end end
def test_have_comment def test_have_comment
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment