test/pipelining_commands_test.rb in redis-3.0.6 vs test/pipelining_commands_test.rb in redis-3.0.7
- old
+ new
@@ -91,12 +91,10 @@
def test_assignment_of_results_inside_the_block_with_errors
assert_raise(Redis::CommandError) do
r.pipelined do
r.doesnt_exist
@first = r.sadd("foo", 1)
- r.doesnt_exist
@second = r.sadd("foo", 1)
- r.doesnt_exist
end
end
assert_raise(Redis::FutureNotReady) { @first.value }
assert_raise(Redis::FutureNotReady) { @second.value }