Adds assertions to zero length buffer slice test
Checklist
-
tests and/or benchmarks are included -
commit message follows commit guidelines
Affected core subsystem(s)
buffer
Description of change
Existing test to show that slicing a 0 length buffer does not throw was missing the actual doesNotThrow assertion.
- Adds missing assertion that slicing a 0 length buffer does not throw.
- Adds assertion that slicing a 0 length buffer has a length of 0.