summaryrefslogtreecommitdiffstats
path: root/tests/winDde.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-08 09:07:07 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-08 09:07:07 (GMT)
commit8622e716bb6d347375ac273af7b73c6f7952f223 (patch)
tree1b4f08124e5aa678ebee8eb014791f26bc3ffc42 /tests/winDde.test
parentcfc88759ab9d2a7118cb286943fc3074b430804b (diff)
downloadtcl-8622e716bb6d347375ac273af7b73c6f7952f223.zip
tcl-8622e716bb6d347375ac273af7b73c6f7952f223.tar.gz
tcl-8622e716bb6d347375ac273af7b73c6f7952f223.tar.bz2
fix test-cases winDde 5.1 and 5.3
Diffstat (limited to 'tests/winDde.test')
-rw-r--r--tests/winDde.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/winDde.test b/tests/winDde.test
index bd5ef73..d4a3a79 100644
--- a/tests/winDde.test
+++ b/tests/winDde.test
@@ -216,13 +216,13 @@ test winDde-4.4 {DDE eval remotely} {stdio win dde} {
test winDde-5.1 {check for bad arguments} -constraints {win dde} -body {
dde execute "" "" "" ""
-} -returnCodes error -result {wrong # args: should be "dde execute ?-async? serviceName topicName value"}
+} -returnCodes error -result {ambiguous option "": must be -async or -binary}
test winDde-5.2 {check for bad arguments} -constraints {win dde} -body {
dde execute "" "" ""
} -returnCodes error -result {cannot execute null data}
test winDde-5.3 {check for bad arguments} -constraints {win dde} -body {
dde execute -foo "" "" ""
-} -returnCodes error -result {wrong # args: should be "dde execute ?-async? serviceName topicName value"}
+} -returnCodes error -result {bad option "-foo": must be -async or -binary}
test winDde-5.4 {DDE eval bad arguments} -constraints {win dde} -body {
dde eval "" "foo"
} -returnCodes error -result {invalid service name ""}