Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Amend tests to accommodate return codes 0 and above

  • Loading branch information...
commit 89a56dff39d95d87ffed03899bad0bc98506c084 1 parent e36d051
@celldee authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/pushpull_spec.rb
View
4 spec/pushpull_spec.rb
@@ -62,7 +62,7 @@ module XS
pull = @context.socket XS::PULL
rc = pull.setsockopt XS::LINGER, 0
rc = pull.connect @link
- rc.should == 0
+ rc.should_not be < 0
buffer = ''
rc = pull.recv_string buffer
rc.should == 11
@@ -87,7 +87,7 @@ module XS
pull = @context.socket XS::PULL
rc = pull.setsockopt XS::LINGER, 0
rc = pull.connect @link
- rc.should == 0
+ rc.should_not be < 0
mutex = Mutex.new
count.times do |i|
Please sign in to comment.
Something went wrong with that request. Please try again.