File: fix_order_list.patch

package info (click to toggle)
ruby-mimemagic 0.3.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 352 kB
  • sloc: ruby: 2,440; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 300 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- a/test/mimemagic_test.rb
+++ b/test/mimemagic_test.rb
@@ -44,7 +44,7 @@
   end
 
   def test_have_extensions
-    assert_equal %w(htm html), MimeMagic.new('text/html').extensions
+    assert_equal ["htm", "html"].sort, MimeMagic.new('text/html').extensions.sort
   end
 
   def test_have_comment