diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-01-13 15:19:08 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-01-13 15:19:08 (GMT) |
commit | 46a6094df77d17ee72850329800059e5555f8c01 (patch) | |
tree | 154fee730ab19ebe67d535f6e97f3fc084d9c472 /tests/oo.test | |
parent | 6a4eb9df57b905743efaed8104685a8999f7b4a6 (diff) | |
download | tcl-46a6094df77d17ee72850329800059e5555f8c01.zip tcl-46a6094df77d17ee72850329800059e5555f8c01.tar.gz tcl-46a6094df77d17ee72850329800059e5555f8c01.tar.bz2 |
Fix [cff53cf7d0]: Failed test oo-0.9 in file oo.test in Tcl8.6.10
Diffstat (limited to 'tests/oo.test')
-rw-r--r-- | tests/oo.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/oo.test b/tests/oo.test index 77fca68..065c017 100644 --- a/tests/oo.test +++ b/tests/oo.test @@ -113,8 +113,8 @@ test oo-0.8 {leak in variable management} -setup { } -result 0 test oo-0.9 {various types of presence of the TclOO package} { list [lsearch -nocase -all -inline [package names] tcloo] \ - [package present TclOO] [package versions TclOO] -} [list TclOO $::oo::patchlevel $::oo::patchlevel] + [package present TclOO] [expr {$::oo::patchlevel in [package versions TclOO]}] +} [list TclOO $::oo::patchlevel 1] test oo-1.1 {basic test of OO functionality: no classes} { set result {} |