1
Fix a ruby test failure.
2
From upstream r40088; will probably be in 1.6.7.
4
--- a/subversion/bindings/swig/ruby/test/test_core.rb
5
+++ b/subversion/bindings/swig/ruby/test/test_core.rb
7
assert_raises(Svn::Error::BadFilename) do
8
Svn::Core::MimeType.detect(nonexistent_html_file)
10
- assert_raises(Svn::Error::BadFilename) do
11
- Svn::Core::MimeType.detect(nonexistent_html_file, type_map)
13
+ assert_equal("text/html",
14
+ Svn::Core::MimeType.detect(nonexistent_html_file, type_map))
16
empty_html_file = File.join(@tmp_path, "empty.html")
17
FileUtils.touch(empty_html_file)