io: missed a few byte-array>int-array in unit tests

db4
Slava Pestov 2010-05-19 16:22:39 -04:00
parent dc1aca7ae2
commit cb25591d36
3 changed files with 3 additions and 3 deletions

View File

@ -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
[ ] [ [ ] [

View File

@ -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

View File

@ -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