LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File subversion-ruby-bindings-test.patch of Package subversion (Project openSUSE:Evergreen:11.2)

Index: subversion/bindings/swig/ruby/test/test_core.rb
===================================================================
--- subversion/bindings/swig/ruby/test/test_core.rb	(revision 40087)
+++ subversion/bindings/swig/ruby/test/test_core.rb	(revision 40088)
@@ -628,9 +628,8 @@
     assert_raises(Svn::Error::BadFilename) do
       Svn::Core::MimeType.detect(nonexistent_html_file)
     end
-    assert_raises(Svn::Error::BadFilename) do
-      Svn::Core::MimeType.detect(nonexistent_html_file, type_map)
-    end
+    assert_equal("text/html",
+                 Svn::Core::MimeType.detect(nonexistent_html_file, type_map))
 
     empty_html_file = File.join(@tmp_path, "empty.html")
     FileUtils.touch(empty_html_file)