diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-06-08 10:31:10 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-06-08 10:31:10 (GMT) |
commit | 25b8569df74d9afc67272322fe89a9ff6dc05a2e (patch) | |
tree | 5687762c70d240ff123f02dad924a8ff9be441f3 /tests | |
parent | a51d1909f467d11adf3d095e1fa302f161929cbb (diff) | |
download | tk-25b8569df74d9afc67272322fe89a9ff6dc05a2e.zip tk-25b8569df74d9afc67272322fe89a9ff6dc05a2e.tar.gz tk-25b8569df74d9afc67272322fe89a9ff6dc05a2e.tar.bz2 |
When TK_NO_DEPRECATED is defined or when Tk is compiled with Tcl 9 headers, no longer support the oldImageType.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/image.test | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/image.test b/tests/image.test index da65a66..ee3f3d9 100644 --- a/tests/image.test +++ b/tests/image.test @@ -308,11 +308,13 @@ test image-5.7 {Tk_ImageCmd procedure, "type" option} -constraints { } -returnCodes error -result {image "myimage" doesn't exist} -test image-6.1 {Tk_ImageCmd procedure, "types" option} -body { +test image-6.1 {Tk_ImageCmd procedure, "types" option} -constraints { + testImageType +} -body { image types x } -returnCodes error -result {wrong # args: should be "image types"} test image-6.2 {Tk_ImageCmd procedure, "types" option} -constraints { - testImageType + testOldImageType } -body { lsort [image types] } -result {bitmap oldtest photo test} |