summaryrefslogtreecommitdiffstats
path: root/doc/tcltest.n
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2003-03-08 21:43:48 (GMT)
committerdgp <dgp@users.sourceforge.net>2003-03-08 21:43:48 (GMT)
commit1f5e864105d4884ced34df6376f79054dcbec9f4 (patch)
tree1d7014e04ee9b54cfbc2c1da8f15d788857d7d12 /doc/tcltest.n
parented9e2f1ebf814de045b0118ecfcaedddadfab6d1 (diff)
downloadtcl-1f5e864105d4884ced34df6376f79054dcbec9f4.zip
tcl-1f5e864105d4884ced34df6376f79054dcbec9f4.tar.gz
tcl-1f5e864105d4884ced34df6376f79054dcbec9f4.tar.bz2
* doc/tcltest.n: Added missing "-body" to example. Thanks to
Helmut Giese. [Bug 700011]
Diffstat (limited to 'doc/tcltest.n')
-rw-r--r--doc/tcltest.n6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/tcltest.n b/doc/tcltest.n
index c395823..4693ca6 100644
--- a/doc/tcltest.n
+++ b/doc/tcltest.n
@@ -8,7 +8,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: tcltest.n,v 1.38 2003/01/24 16:33:35 dgp Exp $
+'\" RCS: @(#) $Id: tcltest.n,v 1.38.2.1 2003/03/08 21:43:49 dgp Exp $
'\"
.so man.macros
.TH "tcltest" n 2.2 tcltest "Tcl Bundled Packages"
@@ -976,10 +976,10 @@ namespace eval ::example::test {
testConstraint X [expr {...}]
variable SETUP {#common setup code}
variable CLEANUP {#common cleanup code}
- test example-1 {} -setup $SETUP {
+ test example-1 {} -setup $SETUP -body {
# First test
} -cleanup $CLEANUP -result {...}
- test example-2 {} -constraints X -setup $SETUP {
+ test example-2 {} -constraints X -setup $SETUP -body {
# Second test; constrained
} -cleanup $CLEANUP -result {...}
test example-3 {} {