subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r1446090 - /subversion/trunk/subversion/bindings/swig/ruby/test/test_wc.rb
Date Thu, 14 Feb 2013 09:57:22 GMT
Author: rhuijben
Date: Thu Feb 14 09:57:22 2013
New Revision: 1446090

URL: http://svn.apache.org/r1446090
Log:
* subversion/bindings/ruby/test/test_wc.rb
  (test_diff_callbacks):
      Following up on r1446068, remove the invalid assumption that running
      the equivalent of
        $ svn diff wc/dir -r SOMETHING        
      Should report not only changes on dir and anything below, but also
      some non-changes on 'wc' (the anchor above the diff target).
      
      Usually 'svn diff' would ignore the removal of entry props as being
      real changes, so only this binding test cares.

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

Modified: subversion/trunk/subversion/bindings/swig/ruby/test/test_wc.rb
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/bindings/swig/ruby/test/test_wc.rb?rev=1446090&r1=1446089&r2=1446090&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/ruby/test/test_wc.rb (original)
+++ subversion/trunk/subversion/bindings/swig/ruby/test/test_wc.rb Thu Feb 14 09:57:22 2013
@@ -787,15 +787,11 @@ EOE
 
   def test_diff_callbacks
     assert_diff_callbacks(:diff_editor2) do |property_info, result|
-      dir_changed_props = {}
-      property_info[:dir_changed_prop_names].each do |name|
-        dir_changed_props[name] = nil
-      end
       prop_name = property_info[:file_changed_prop_name]
       prop_value = property_info[:file_changed_prop_value]
       file_changed_props = {prop_name => prop_value}
       empty_changed_props = {}
-      [[dir_changed_props, file_changed_props, empty_changed_props],
+      [[file_changed_props, empty_changed_props],
        result]
     end
   end



Mime
View raw message