diff options
author | patthoyts <patthoyts@users.sourceforge.net> | 2007-11-25 10:56:27 (GMT) |
---|---|---|
committer | patthoyts <patthoyts@users.sourceforge.net> | 2007-11-25 10:56:27 (GMT) |
commit | 81e551c563bf0c2e7ba07e4b6f207bbae50242df (patch) | |
tree | f35585a687356a7812a7e14dc7d0baa69172e718 | |
parent | c7625c77b9b90a9ed7b0241e992eb9804ecd6e2d (diff) | |
download | tk-81e551c563bf0c2e7ba07e4b6f207bbae50242df.zip tk-81e551c563bf0c2e7ba07e4b6f207bbae50242df.tar.gz tk-81e551c563bf0c2e7ba07e4b6f207bbae50242df.tar.bz2 |
Improved the tests for ttk::style element create args
-rw-r--r-- | tests/ttk/ttk.test | 6 |
1 files 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 "" |