]> gitweb.factorcode.org Git - factor.git/commitdiff
fixed bson tests
authorSascha Matzke <sascha.matzke@didolo.org>
Sat, 5 Jun 2010 10:04:16 +0000 (12:04 +0200)
committerSascha Matzke <sascha.matzke@didolo.org>
Sat, 5 Jun 2010 10:04:16 +0000 (12:04 +0200)
extra/bson/bson-tests.factor

index f068e951ae4a6adbbd1c518d10813714e8459d96..7353a9a8314272841e6ec2edcb11b7a449ffa074 100644 (file)
@@ -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