test/connection/test_channel.rb in net-ssh-2.0.4 vs test/connection/test_channel.rb in net-ssh-2.0.5

- old
+ new

@@ -125,13 +125,13 @@ connection.expect do |t,packet| assert_equal CHANNEL_DATA, packet.type assert_equal 0, packet[:local_id] assert_equal "hello wo", packet[:data] - t.expect do |t,packet| - assert_equal CHANNEL_DATA, packet.type - assert_equal 0, packet[:local_id] - assert_equal "rld", packet[:data] + t.expect do |t2,packet2| + assert_equal CHANNEL_DATA, packet2.type + assert_equal 0, packet2[:local_id] + assert_equal "rld", packet2[:data] end end channel.enqueue_pending_output end