tools.scaffold tools.scaffold.private tools.test unicode ;
IN: tools.scaffold.tests
+
: undocumented-word ( obj1 obj2 -- obj3 obj4 )
[ >lower ] [ >upper ] bi* ;
{
"HELP: iota
{ $class-description \"\" } ;
-" }
+"
+}
[
[ \ iota scaffold-word-docs ] with-string-writer
] unit-test
: test-maybe ( obj -- obj/f ) ;
-{ } [ \ test-maybe scaffold-word-docs ] unit-test
+{
+"HELP: test-maybe
+{ $values
+ { \"obj\" object }
+ { \"obj/f\" { $maybe object } }
+}
+{ $description \"\" } ;
+"
+}
+[ [ \ test-maybe scaffold-word-docs ] with-string-writer ]
+unit-test