From 81e551c563bf0c2e7ba07e4b6f207bbae50242df Mon Sep 17 00:00:00 2001 From: patthoyts Date: Sun, 25 Nov 2007 10:56:27 +0000 Subject: Improved the tests for ttk::style element create args --- tests/ttk/ttk.test | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ttk/ttk.test b/tests/ttk/ttk.test index cd3291b..fab6c2c 100644 --- a/tests/ttk/ttk.test +++ b/tests/ttk/ttk.test @@ -589,13 +589,13 @@ test ttk-14.3 "-textvariable in nonexistant namespace" -body { test ttk-15.1 "style element create: insufficient args" -body { ttk::style element create -} -returnCodes 1 -match glob -result "wrong # args:*" +} -returnCodes 1 -result "wrong # args: should be \"ttk::style element create name type ?options...?\"" test ttk-15.2 "style element create: insufficient args" -body { ttk::style element create plain.background -} -returnCodes 1 -match glob -result "wrong # args:*" +} -returnCodes 1 -result "wrong # args: should be \"ttk::style element create name type ?options...?\"" test ttk-15.3 "style element create: insufficient args" -body { ttk::style element create plain.background from -} -returnCodes 1 -match glob -result "wrong # args:*" +} -returnCodes 1 -result "wrong # args: should be \"theme ?element?\"" test ttk-15.4 "style element create: valid" -body { ttk::style element create plain.background from default } -returnCodes 0 -result "" -- cgit v0.12