Fix byte vector prettyprinting

db4
Slava Pestov 2008-11-11 23:38:19 -06:00
parent c581311e03
commit eed1dd3d2b
2 changed files with 5 additions and 1 deletions

View File

@ -214,6 +214,7 @@ M: tuple pprint-narrow? drop t ;
M: object pprint* pprint-object ;
M: vector pprint* pprint-object ;
M: byte-vector pprint* pprint-object ;
M: hashtable pprint* pprint-object ;
M: curry pprint*

View File

@ -1,5 +1,6 @@
IN: byte-vectors.tests
USING: tools.test byte-vectors vectors sequences kernel ;
USING: tools.test byte-vectors vectors sequences kernel
prettyprint ;
[ 0 ] [ 123 <byte-vector> length ] unit-test
@ -12,3 +13,5 @@ USING: tools.test byte-vectors vectors sequences kernel ;
] unit-test
[ t ] [ BV{ } byte-vector? ] unit-test
[ "BV{ }" ] [ BV{ } unparse ] unit-test