From f979adcb2406f32c7f4e4d333956435a0aed49f6 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Mon, 26 Sep 2011 16:55:35 -0700 Subject: [PATCH] specialized-arrays: fix tests for >c-array change. --- basis/specialized-arrays/specialized-arrays-tests.factor | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/basis/specialized-arrays/specialized-arrays-tests.factor b/basis/specialized-arrays/specialized-arrays-tests.factor index f27ae66b8e..17fcc5da7d 100644 --- a/basis/specialized-arrays/specialized-arrays-tests.factor +++ b/basis/specialized-arrays/specialized-arrays-tests.factor @@ -75,7 +75,7 @@ SPECIALIZED-ARRAY: test-struct [ 5/4 ] [ [ - 2 malloc-test-struct-array + 2 \ test-struct malloc-array dup &free drop 1 2 make-point over set-first 3 4 make-point over set-second @@ -87,7 +87,7 @@ SPECIALIZED-ARRAY: test-struct [ ] [ [ - 10 malloc-test-struct-array + 10 \ test-struct malloc-array &free drop ] with-destructors ] unit-test @@ -175,7 +175,7 @@ SPECIALIZED-ARRAY: struct-resize-test : struct-resize-test-usage ( seq -- seq ) [ struct-resize-test swap >>x ] map - >struct-resize-test-array + \ struct-resize-test >c-array [ x>> ] { } map-as ; [ { 10 20 30 } ] [ { 10 20 30 } struct-resize-test-usage ] unit-test