summaryrefslogtreecommitdiffstats
path: root/tests/ttk/labelframe.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ttk/labelframe.test')
-rw-r--r--tests/ttk/labelframe.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ttk/labelframe.test b/tests/ttk/labelframe.test
index f7cb8ef..b82d2c3 100644
--- a/tests/ttk/labelframe.test
+++ b/tests/ttk/labelframe.test
@@ -11,13 +11,13 @@ test labelframe-2.1 "Can't use indirect descendant as labelwidget" -body {
ttk::frame .lf.t
ttk::checkbutton .lf.t.cb
.lf configure -labelwidget .lf.t.cb
-} -returnCodes error -result "can't *" -match glob \
+} -returnCodes error -result {cannot add ".lf.t.cb" as content of ".lf"} \
-cleanup { destroy .lf.t } ;
test labelframe-2.2 "Can't use toplevel as labelwidget" -body {
toplevel .lf.t
.lf configure -labelwidget .lf.t
-} -returnCodes error -result "can't *" -match glob \
+} -returnCodes error -result {cannot add ".lf.t" as content of ".lf"} \
-cleanup { destroy .lf.t } ;
test labelframe-2.3 "Can't use non-windows as -labelwidget" -body {