diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-30 13:27:52 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-30 13:27:52 (GMT) |
commit | 076a7e2839881c03d0a98a8fc50823aef42ad79a (patch) | |
tree | 26698b0ef5c437526bbf0b1f88222dd4a0275d2a /tests/winDde.test | |
parent | 9efaa4d7f1aeb58c52fe41c62713b568a0833948 (diff) | |
download | tcl-076a7e2839881c03d0a98a8fc50823aef42ad79a.zip tcl-076a7e2839881c03d0a98a8fc50823aef42ad79a.tar.gz tcl-076a7e2839881c03d0a98a8fc50823aef42ad79a.tar.bz2 |
Add "{}" around many "expr" commands in testcases. Also in doc/expr.n
Diffstat (limited to 'tests/winDde.test')
-rw-r--r-- | tests/winDde.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/winDde.test b/tests/winDde.test index 1238102..2abfdd4 100644 --- a/tests/winDde.test +++ b/tests/winDde.test @@ -111,7 +111,7 @@ test winDde-1.1 {Settings the server's topic name} -constraints dde -body { } -result {foobar foobar self} test winDde-2.1 {Checking for other services} -constraints dde -body { - expr [llength [dde services {} {}]] >= 0 + expr {[llength [dde services {} {}]] >= 0} } -result 1 test winDde-2.2 {Checking for existence, with service and topic specified} \ -constraints dde -body { @@ -119,11 +119,11 @@ test winDde-2.2 {Checking for existence, with service and topic specified} \ } -result 1 test winDde-2.3 {Checking for existence, with only the service specified} \ -constraints dde -body { - expr [llength [dde services TclEval {}]] >= 1 + expr {[llength [dde services TclEval {}]] >= 1} } -result 1 test winDde-2.4 {Checking for existence, with only the topic specified} \ -constraints dde -body { - expr [llength [dde services {} self]] >= 1 + expr {[llength [dde services {} self]] >= 1} } -result 1 # ------------------------------------------------------------------------- |