summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2005-01-28 13:38:48 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2005-01-28 13:38:48 (GMT)
commite54506c166bdadcc0f3e5d2b2ff50547ca772565 (patch)
treee25bc6af895515abe50e89129c52e6b5a3c51e21 /tests
parenteba80ac0e1a2b6854d25b4b3522a5aeeb26a4725 (diff)
downloadtcl-e54506c166bdadcc0f3e5d2b2ff50547ca772565.zip
tcl-e54506c166bdadcc0f3e5d2b2ff50547ca772565.tar.gz
tcl-e54506c166bdadcc0f3e5d2b2ff50547ca772565.tar.bz2
Added test for [1109484]
Diffstat (limited to 'tests')
-rw-r--r--tests/expr-old.test8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/expr-old.test b/tests/expr-old.test
index c531f3b..4f12a33 100644
--- a/tests/expr-old.test
+++ b/tests/expr-old.test
@@ -13,7 +13,7 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: expr-old.test,v 1.22 2004/11/03 22:12:51 dgp Exp $
+# RCS: @(#) $Id: expr-old.test,v 1.23 2005/01/28 13:38:59 dkf Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
@@ -961,8 +961,12 @@ testConstraint testexprlong [llength [info commands testexprlong]]
testConstraint testexprstring [llength [info commands testexprstring]]
test expr-old-37.1 {Check that Tcl_ExprLong doesn't modify interpreter result if no error} testexprlong {
- testexprlong
+ testexprlong 4+1
} {This is a result: 5}
+#Check for [Bug 1109484]
+test expr-old-37.2 {Tcl_ExprLong handles wide ints gracefully} testexprlong {
+ testexprlong wide(1)+2
+} {This is a result: 3}
test expr-old-38.1 {Verify Tcl_ExprString's basic operation} testexprstring {
list [testexprstring "1+4"] [testexprstring "2*3+4.2"] \