Skip to content

Commit 7bfd0dc

Browse files
author
rolf
committed
With Tcl 8.5 it is not given that TclOO is available.
1 parent 615283b commit 7bfd0dc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/log/loggerUtils.test

+5-1
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,12 @@ proc msg {name {suffix {}}} {
9191
}
9292
} -match regexp -output {\[[\d:\/ ]+\] \[catTest\] \[namespace\] \[critical\] test}
9393

94+
::tcltest::testConstraint TclOO \
95+
[expr {![catch {package require TclOO}]}]
9496

95-
::tcltest::test createLogProc-2 {tkt e4d5ef01e7, %M OO context} -setup {
97+
::tcltest::test createLogProc-2 {tkt e4d5ef01e7, %M OO context} -constraints {
98+
TclOO
99+
} -setup {
96100
package require TclOO
97101
::oo::class create Main {
98102
variable log

0 commit comments

Comments
 (0)