summaryrefslogtreecommitdiffstats
path: root/tests/parseOld.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parseOld.test')
-rw-r--r--tests/parseOld.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/parseOld.test b/tests/parseOld.test
index 134a3c2..7218092 100644
--- a/tests/parseOld.test
+++ b/tests/parseOld.test
@@ -135,7 +135,7 @@ format %s $b
} a22b
test parseOld-4.4 {command substitution} {
set a 7.7
- if [catch {expr int($a)}] {set a foo}
+ if {[catch {expr {int($a)}}]} {set a foo}
set a
} 7.7