You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2010/06/22 11:48:22 UTC

svn commit: r956836 - /subversion/trunk/subversion/bindings/swig/ruby/test/test_wc.rb

Author: rhuijben
Date: Tue Jun 22 09:48:22 2010
New Revision: 956836

URL: http://svn.apache.org/viewvc?rev=956836&view=rev
Log:
As a first step towards fixing the ruby test failure change an
assertion to verify the action instead of the error from a
notification. (I can't run this test locally)

* subversion/bindings/swig/ruby/test/test_wc.rb
  (test_changelist): Update assertion to fail in a different way
    to allow updating it to test the proper behavior in a future
    commit.

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=956836&r1=956835&r2=956836&view=diff
==============================================================================
--- subversion/trunk/subversion/bindings/swig/ruby/test/test_wc.rb (original)
+++ subversion/trunk/subversion/bindings/swig/ruby/test/test_wc.rb Tue Jun 22 09:48:22 2010
@@ -1052,9 +1052,9 @@ EOE
     Svn::Wc::AdmAccess.open(nil, @wc_path) do |access|
       access.set_changelist(path, "456", nil, notify_collector)
     end
-    assert_equal([[File.expand_path(path), Svn::Error::WcChangelistMove],
-                  [File.expand_path(path), NilClass]],
-                 notifies.collect {|notify| [notify.path, notify.err.class]})
+    assert_equal([[File.expand_path(path), nil],
+                  [File.expand_path(path), nil]],
+                 notifies.collect {|notify| [notify.path, notify.action]})
 
     notifies = []