test/transactions_test.rb in redis-3.0.6 vs test/transactions_test.rb in redis-3.0.7
- old
+ new
@@ -65,12 +65,10 @@
def test_assignment_inside_multi_exec_block_with_immediate_command_errors
assert_raise(Redis::CommandError) do
r.multi do |m|
m.doesnt_exist
@first = m.sadd("foo", 1)
- m.doesnt_exist
@second = m.sadd("foo", 1)
- m.doesnt_exist
end
end
assert_raise(Redis::FutureNotReady) { @first.value }
assert_raise(Redis::FutureNotReady) { @second.value }