io: missed a few byte-array>int-array in unit tests
parent
dc1aca7ae2
commit
cb25591d36
|
@ -80,7 +80,7 @@ IN: io.files.tests
|
||||||
"test.txt" temp-file binary [
|
"test.txt" temp-file binary [
|
||||||
3 4 * read
|
3 4 * read
|
||||||
] with-file-reader
|
] with-file-reader
|
||||||
byte-array>int-array
|
int-array-cast
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
[ ] [
|
[ ] [
|
||||||
|
|
|
@ -45,5 +45,5 @@ IN: io.streams.byte-array.tests
|
||||||
! Writing specialized arrays to byte writers
|
! Writing specialized arrays to byte writers
|
||||||
[ int-array{ 1 2 3 } ] [
|
[ int-array{ 1 2 3 } ] [
|
||||||
binary [ int-array{ 1 2 3 } write ] with-byte-writer
|
binary [ int-array{ 1 2 3 } write ] with-byte-writer
|
||||||
byte-array>int-array
|
int-array-cast
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
|
@ -31,7 +31,7 @@ IN: io.streams.c.tests
|
||||||
"test.txt" temp-file "rb" fopen <c-reader> [
|
"test.txt" temp-file "rb" fopen <c-reader> [
|
||||||
3 4 * read
|
3 4 * read
|
||||||
] with-input-stream
|
] with-input-stream
|
||||||
byte-array>int-array
|
int-array-cast
|
||||||
] unit-test
|
] unit-test
|
||||||
|
|
||||||
! Writing strings to binary streams should fail
|
! Writing strings to binary streams should fail
|
||||||
|
|
Loading…
Reference in New Issue