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
181181 results . each_with_index { |got , i | assert_equal ( i . to_s , got ) }
182182 end
183183
184- def test_pubsub_without_subscription
185- pubsub = @client . pubsub
186- assert_nil ( pubsub . next_event ( 0.01 ) )
187- pubsub . close
188- end
189-
190184 def test_transaction_with_single_key
191185 got = @client . multi do |t |
192186 t . call ( 'SET' , 'counter' , '0' )
@@ -257,6 +251,12 @@ def test_transaction_without_hashtag
257251 end
258252 end
259253
254+ def test_pubsub_without_subscription
255+ pubsub = @client . pubsub
256+ assert_nil ( pubsub . next_event ( 0.01 ) )
257+ pubsub . close
258+ end
259+
260260 def test_pubsub_with_wrong_command
261261 pubsub = @client . pubsub
262262 assert_nil ( pubsub . call ( 'SUBWAY' ) )
You can’t perform that action at this time.
0 commit comments