From 4a836dcdea010c96c1db654ea6ea24553593209d Mon Sep 17 00:00:00 2001 From: Sascha Matzke Date: Sat, 5 Jun 2010 12:04:16 +0200 Subject: [PATCH] fixed bson tests --- extra/bson/bson-tests.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/bson/bson-tests.factor b/extra/bson/bson-tests.factor index f068e951ae..7353a9a831 100644 --- a/extra/bson/bson-tests.factor +++ b/extra/bson/bson-tests.factor @@ -4,7 +4,7 @@ io.streams.byte-array tools.test literals calendar kernel math ; IN: bson.tests : turnaround ( value -- value ) - assoc>bv >byte-array binary [ H{ } stream>assoc ] with-byte-reader ; + assoc>bv >byte-array binary [ H{ } clone stream>assoc ] with-byte-reader ; [ H{ { "a" "a string" } } ] [ H{ { "a" "a string" } } turnaround ] unit-test