tools.test: change unit-test docs so it's clear "output" is a sequence and not an executable quotation (reported by mncharity)
parent
b04bc8640f
commit
1625768a9e
|
@ -53,7 +53,7 @@ $nl
|
|||
ABOUT: "tools.test"
|
||||
|
||||
HELP: unit-test
|
||||
{ $syntax "[ output ] [ input ] unit-test" }
|
||||
{ $syntax "{ output } [ input ] unit-test" }
|
||||
{ $values { "output" "a sequence of expected stack elements" } { "input" "a quotation run with an empty stack" } }
|
||||
{ $description "Runs a quotation with an empty stack, comparing the resulting stack with " { $snippet "output" } ". Elements are compared using " { $link = } ". Throws an error if the expected stack does not match the resulting stack." } ;
|
||||
|
||||
|
|
Loading…
Reference in New Issue