From 500882d603f9a37c8b89d168a1a7897977afaa14 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Wed, 19 May 2010 16:22:39 -0400 Subject: [PATCH] io: missed a few byte-array>int-array in unit tests --- core/io/files/files-tests.factor | 2 +- core/io/streams/byte-array/byte-array-tests.factor | 2 +- core/io/streams/c/c-tests.factor | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/io/files/files-tests.factor b/core/io/files/files-tests.factor index a308b9f0c3..de70cc9ada 100644 --- a/core/io/files/files-tests.factor +++ b/core/io/files/files-tests.factor @@ -80,7 +80,7 @@ IN: io.files.tests "test.txt" temp-file binary [ 3 4 * read ] with-file-reader - byte-array>int-array + int-array-cast ] unit-test [ ] [ diff --git a/core/io/streams/byte-array/byte-array-tests.factor b/core/io/streams/byte-array/byte-array-tests.factor index 46e015e576..9772de6262 100644 --- a/core/io/streams/byte-array/byte-array-tests.factor +++ b/core/io/streams/byte-array/byte-array-tests.factor @@ -45,5 +45,5 @@ IN: io.streams.byte-array.tests ! Writing specialized arrays to byte writers [ int-array{ 1 2 3 } ] [ binary [ int-array{ 1 2 3 } write ] with-byte-writer - byte-array>int-array + int-array-cast ] unit-test diff --git a/core/io/streams/c/c-tests.factor b/core/io/streams/c/c-tests.factor index d05daf3662..63a56b4af1 100644 --- a/core/io/streams/c/c-tests.factor +++ b/core/io/streams/c/c-tests.factor @@ -31,7 +31,7 @@ IN: io.streams.c.tests "test.txt" temp-file "rb" fopen [ 3 4 * read ] with-input-stream - byte-array>int-array + int-array-cast ] unit-test ! Writing strings to binary streams should fail