You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2012/03/19 17:09:02 UTC

svn commit: r1302524 - /subversion/trunk/subversion/bindings/swig/ruby/test/test_info.rb

Author: hwright
Date: Mon Mar 19 16:09:01 2012
New Revision: 1302524

URL: http://svn.apache.org/viewvc?rev=1302524&view=rev
Log:
Fix the swig-rb test failure by loosening a couple of implementation dependent
expectations.

Patch by: joeswatosh

* subversion/bindings/swig/ruby/test/test_info.rb
  (test_diff): Remove a couple of property expectations.

Modified:
    subversion/trunk/subversion/bindings/swig/ruby/test/test_info.rb

Modified: subversion/trunk/subversion/bindings/swig/ruby/test/test_info.rb
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/ruby/test/test_info.rb?rev=1302524&r1=1302523&r2=1302524&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/ruby/test/test_info.rb (original)
+++ subversion/trunk/subversion/bindings/swig/ruby/test/test_info.rb Mon Mar 19 16:09:01 2012
@@ -217,7 +217,6 @@ class SvnInfoTest < Test::Unit::TestCase
       assert_equal([file1, file2, file4].sort, keys[0..-2])
       assert_match(/\A#{file5}/, file5_key)
       assert(info.diffs[file1].has_key?(:modified))
-      assert(info.diffs[file1].has_key?(:property_changed))
       assert(info.diffs[file2].has_key?(:modified))
       assert(info.diffs[file4].has_key?(:added))
       assert(info.diffs[file4].has_key?(:property_changed))
@@ -230,8 +229,6 @@ class SvnInfoTest < Test::Unit::TestCase
       assert_equal(0, info.diffs[file4][:added].deleted_line)
       assert_equal(0, info.diffs[file5_key][:copied].added_line)
       assert_equal(0, info.diffs[file5_key][:copied].deleted_line)
-      assert_equal("Name: #{file1_prop_key}\n   - #{file1_prop_value}\n",
-                   info.diffs[file1][:property_changed].body)
       assert_equal("Name: #{file4_prop_key}\n   + #{file4_prop_value}\n",
                    info.diffs[file4][:property_changed].body)
       assert_equal(commit_info.revision, info.revision)