File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -181,12 +181,6 @@ def test_pipelined_with_many_commands
181
181
results . each_with_index { |got , i | assert_equal ( i . to_s , got ) }
182
182
end
183
183
184
- def test_pubsub_without_subscription
185
- pubsub = @client . pubsub
186
- assert_nil ( pubsub . next_event ( 0.01 ) )
187
- pubsub . close
188
- end
189
-
190
184
def test_transaction_with_single_key
191
185
got = @client . multi do |t |
192
186
t . call ( 'SET' , 'counter' , '0' )
@@ -257,6 +251,12 @@ def test_transaction_without_hashtag
257
251
end
258
252
end
259
253
254
+ def test_pubsub_without_subscription
255
+ pubsub = @client . pubsub
256
+ assert_nil ( pubsub . next_event ( 0.01 ) )
257
+ pubsub . close
258
+ end
259
+
260
260
def test_pubsub_with_wrong_command
261
261
pubsub = @client . pubsub
262
262
assert_nil ( pubsub . call ( 'SUBWAY' ) )
You can’t perform that action at this time.
0 commit comments