Skip to content

Commit

Permalink
fixed bson tests
Browse files Browse the repository at this point in the history
  • Loading branch information
x6j8x committed Jun 5, 2010
1 parent 4a7110e commit 7f55482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/bson/bson-tests.factor
Expand Up @@ -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

Expand Down

0 comments on commit 7f55482

Please sign in to comment.