test/unit/peddler/test_client.rb in peddler-0.7.0 vs test/unit/peddler/test_client.rb in peddler-0.7.1
- old
+ new
@@ -87,10 +87,10 @@
assert_equal @body, res.body
end
def test_streams_response
chunks = ''
- streamer = -> (chunk, _, _) { chunks << chunk }
+ streamer = ->(chunk, _, _) { chunks << chunk }
@client.run(Parser, &streamer)
assert_equal @body, chunks
end
end