Skip to content

Commit

Permalink
Standardrb fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
halostatue committed Jan 2, 2024
1 parent 8c09cc1 commit 650047e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/test_mime_types_class.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,13 @@ def setup
assert_includes MIME::Types.type_for("xtxt"), "text/plain"
end

<<<<<<< HEAD
it "handles newline characters correctly" do
assert_includes MIME::Types.type_for("test.pdf\n.txt"), "text/plain"
assert_includes MIME::Types.type_for("test.txt\n.pdf"), "application/pdf"
||||||| parent of 32714bc5f1ae (Add a stable sort)
=======
it 'returns a stable order for types with equal priority' do
assert_equal %w(audio/webm video/webm), MIME::Types.type_for('foo.webm')
>>>>>>> 32714bc5f1ae (Add a stable sort)
end

it "returns a stable order for types with equal priority" do
assert_equal %w[audio/webm video/webm], MIME::Types.type_for("foo.webm")
end
end

Expand Down

0 comments on commit 650047e

Please sign in to comment.