summaryrefslogtreecommitdiffstats
path: root/tests/scale.test
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2017-10-04 05:14:42 (GMT)
committerfvogel <fvogelnew1@free.fr>2017-10-04 05:14:42 (GMT)
commitf9780ff1a6e2bee6f3025ef79c0d95a2c12e05c2 (patch)
tree60d6611c51e49911400d2ede5525461c611506e0 /tests/scale.test
parent9545c1e90268f078175c0556b4af5099b4a8c1f1 (diff)
downloadtk-f9780ff1a6e2bee6f3025ef79c0d95a2c12e05c2.zip
tk-f9780ff1a6e2bee6f3025ef79c0d95a2c12e05c2.tar.gz
tk-f9780ff1a6e2bee6f3025ef79c0d95a2c12e05c2.tar.bz2
Add test for [55b95f578a]: Associating variable with bignum value with scale crashes it (at this point the test produces a crash)
Diffstat (limited to 'tests/scale.test')
-rw-r--r--tests/scale.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/scale.test b/tests/scale.test
index 8c14ed4..384d117 100644
--- a/tests/scale.test
+++ b/tests/scale.test
@@ -1504,6 +1504,17 @@ test scale-20.8 {Bug [2262543fff] - Scale widget unexpectedly fires command call
destroy .s
} -result {10 10}
+test scale-21 {Bug [55b95f578a] - Associating variable with bignum value with scale crashes it} -setup {
+ catch {destroy .s}
+} -body {
+ pack [scale .s]
+ set foo 5.79e99
+ # non-regression test for bug [55b95f578a] - shall just not crash
+ .s configure -variable foo
+} -cleanup {
+ destroy .s
+} -result {}
+
option clear
# cleanup