From 1625768a9e00ceecd4223514f02d543dbc986fdb Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Mon, 12 Jul 2010 09:36:36 -0700 Subject: [PATCH] tools.test: change unit-test docs so it's clear "output" is a sequence and not an executable quotation (reported by mncharity) --- basis/tools/test/test-docs.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/tools/test/test-docs.factor b/basis/tools/test/test-docs.factor index 5aaaa24dc6..e1e9068722 100644 --- a/basis/tools/test/test-docs.factor +++ b/basis/tools/test/test-docs.factor @@ -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." } ;