io.streams.byte-array: add test of empty byte array.

db4
John Benediktsson 2014-03-11 11:26:05 -07:00
parent b039b6a542
commit 9090aa2bd1
1 changed files with 3 additions and 0 deletions

View File

@ -33,6 +33,9 @@ IN: io.streams.byte-array.tests
B{ 1 2 3 } binary [ B{ 1 } read-until ] with-byte-reader
] unit-test
{ f f } [
B{ } binary [ B{ 0 } read-until ] with-byte-reader
] unit-test
[ 1 1 4 11 f ] [
B{ 1 2 3 4 5 6 7 8 9 10 11 12 } binary