You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by mc...@apache.org on 2013/10/01 23:15:07 UTC

svn commit: r1528217 - /qpid/proton/trunk/tests/ruby/proton_tests/smoke.rb

Author: mcpierce
Date: Tue Oct  1 21:15:07 2013
New Revision: 1528217

URL: http://svn.apache.org/r1528217
Log:
PROTON-431: Fixed the assertions in the Ruby unit tests.

Modified:
    qpid/proton/trunk/tests/ruby/proton_tests/smoke.rb

Modified: qpid/proton/trunk/tests/ruby/proton_tests/smoke.rb
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/tests/ruby/proton_tests/smoke.rb?rev=1528217&r1=1528216&r2=1528217&view=diff
==============================================================================
--- qpid/proton/trunk/tests/ruby/proton_tests/smoke.rb (original)
+++ qpid/proton/trunk/tests/ruby/proton_tests/smoke.rb Tue Oct  1 21:15:07 2013
@@ -54,8 +54,10 @@ class SmokeTest < Test::Unit::TestCase
       assert msg2.body == "Hello World! #{i}"
     }
 
-    assert @client.outgoing == 0, @client.outgoing
-    assert @server.incoming == 0, @server.incoming
+    assert(@client.outgoing == 0,
+           "Expected 0 outgoing messages, found #{@client.outgoing}")
+    assert(@server.incoming == 0,
+           "Expected 0 incoming messages, found #{@server.incoming}")
   end
 
 end



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org