factor/basis/help/syntax/syntax-tests.factor

18 lines
532 B
Factor
Raw Normal View History

2008-09-02 02:53:28 -04:00
USING: kernel tools.test parser vocabs help.syntax namespaces
eval accessors ;
2008-03-01 17:00:45 -05:00
IN: help.syntax.tests
2007-09-20 18:09:08 -04:00
[
[ "foobar" ] [
2009-04-17 16:49:21 -04:00
"IN: help.syntax.tests USE: help.syntax ABOUT: \"foobar\"" eval( -- )
"help.syntax.tests" lookup-vocab vocab-help
2007-09-20 18:09:08 -04:00
] unit-test
2007-09-20 18:09:08 -04:00
[ { "foobar" } ] [
2009-04-17 16:49:21 -04:00
"IN: help.syntax.tests USE: help.syntax ABOUT: { \"foobar\" }" eval( -- )
"help.syntax.tests" lookup-vocab vocab-help
2007-09-20 18:09:08 -04:00
] unit-test
[ ] [ "help.syntax.tests" lookup-vocab f >>help drop ] unit-test
2007-12-30 17:14:15 -05:00
] with-file-vocabs