Coverage increased (+0.5%) to 89.8% when pulling 547ea362a315376e073bb938a605fcbad5e91326 on add-more-body-specs into 9db36bc1230a3c09bf955e24b779dbf5be9a693c on master.
Coverage increased (+0.5%) to 89.8% when pulling 547ea362a315376e073bb938a605fcbad5e91326 on add-more-body-specs into 9db36bc1230a3c09bf955e24b779dbf5be9a693c on master.
This adds specs for
Body::Fixed
,Body::Chunked
, andBody::Buffered
, including the specs that assert memory allocations.I also included two changes to the application code:
Body::Buffered#each
was removed, as from what I could see it's the same as the inheritedBody::Readable#each
Body::Buffered#empty?
was updated to actually return true when#read
would return nil (like the RDocs forBody::Readable#empty?
say)