diff options
author | fvogel <fvogelnew1@free.fr> | 2022-05-23 19:47:16 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2022-05-23 19:47:16 (GMT) |
commit | f73d14cdd568056c8f8da72eb92440e1b17a294b (patch) | |
tree | 568b11d691351436a927c5bd3405408429543dc4 /tests/canvImg.test | |
parent | cbb6636778a95fccb8070a1411554ad9545e7465 (diff) | |
download | tk-f73d14cdd568056c8f8da72eb92440e1b17a294b.zip tk-f73d14cdd568056c8f8da72eb92440e1b17a294b.tar.gz tk-f73d14cdd568056c8f8da72eb92440e1b17a294b.tar.bz2 |
Test canvImg-7.1 seems to be actually portable. Remove the 'nonPortable' constraint. Moreover, remove the very old last two numbers in the expected result since ImageDisplay() in tkTest.c does not write them any longer since [57efce1e].
Diffstat (limited to 'tests/canvImg.test')
-rw-r--r-- | tests/canvImg.test | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/canvImg.test b/tests/canvImg.test index 27c00d6..4c71a9a 100644 --- a/tests/canvImg.test +++ b/tests/canvImg.test @@ -361,11 +361,8 @@ test canvImg-6.12 {ComputeImageBbox procedure} -constraints { image delete foo } -result {5 23 35 38} -# The following test is non-portable because of differences in -# coordinate rounding on some machines (does 0.5 round up?). - test canvImg-7.1 {DisplayImage procedure} -constraints { - nonPortable testImageType + testImageType } -setup { .c delete all } -body { @@ -376,7 +373,7 @@ test canvImg-7.1 {DisplayImage procedure} -constraints { .c create rect 55 110 65 115 -width 1 -outline black -fill white update set x -} -result {{foo display 4 9 12 6 30 30}} +} -result {{foo display 4 9 12 6}} test canvImg-7.2 {DisplayImage procedure, no image} -body { .c delete all .c create image 50 100 -tags i1 |