diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-24 14:20:56 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-08-24 14:20:56 (GMT) |
commit | 196c6c9af3eb4b96a9b0b94f7e41963167b534b8 (patch) | |
tree | e1066b3f498c6383283486d8515267b15d8dab33 /tests/scale.test | |
parent | 7073e267a81a7be41f44c577efac0b05aa07bebd (diff) | |
download | tk-196c6c9af3eb4b96a9b0b94f7e41963167b534b8.zip tk-196c6c9af3eb4b96a9b0b94f7e41963167b534b8.tar.gz tk-196c6c9af3eb4b96a9b0b94f7e41963167b534b8.tar.bz2 |
Testcase cleanup (mainly unnessary curly braces)
Diffstat (limited to 'tests/scale.test')
-rw-r--r-- | tests/scale.test | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/scale.test b/tests/scale.test index 2c3a8c2..18b78f8 100644 --- a/tests/scale.test +++ b/tests/scale.test @@ -1135,26 +1135,26 @@ test scale-14.5 {RoundValueToResolution procedure} -body { -orient horizontal -resolution 4.0 update .s get 84 152 -} -result {-28} +} -result -28 test scale-14.6 {RoundValueToResolution procedure} -body { .s configure -from -100 -to 0 -sliderlength 10 -length 114 -bd 2 \ -orient horizontal -resolution 4.0 update .s get 86 152 -} -result {-24} +} -result -24 test scale-14.7 {RoundValueToResolution procedure} -body { .s configure -from 0 -to -100 -sliderlength 10 -length 114 -bd 2 \ -orient horizontal -resolution 4.0 update .s get 84 152 -} -result {-72} +} -result -72 test scale-14.8 {RoundValueToResolution procedure} -body { .s configure -from 0 -to -100 -sliderlength 10 -length 114 -bd 2 \ -orient horizontal -resolution 4.0 update .s get 86 152 -} -result {-76} +} -result -76 test scale-14.9 {RoundValueToResolution procedure} -body { .s configure -from 0 -to 2.25 -sliderlength 10 -length 114 -bd 2 \ @@ -1226,7 +1226,7 @@ test scale-15.1 {ScaleVarProc procedure} -setup { scale .s -from 0 -to -200 -variable y -orient horizontal -length 150 pack .s return $y -} -result {-130} +} -result -130 test scale-15.2 {ScaleVarProc procedure} -setup { deleteWindows } -body { @@ -1235,7 +1235,7 @@ test scale-15.2 {ScaleVarProc procedure} -setup { pack .s set y -87 .s get -} -result {-87} +} -result -87 test scale-15.3 {ScaleVarProc procedure} -setup { deleteWindows } -body { @@ -1256,7 +1256,7 @@ test scale-15.4 {ScaleVarProc procedure} -setup { .s get } -cleanup { deleteWindows -} -result {-130} +} -result -130 test scale-15.5 {ScaleVarProc procedure} -setup { deleteWindows } -body { |