diff options
author | dgp <dgp@users.sourceforge.net> | 2006-03-21 18:39:11 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2006-03-21 18:39:11 (GMT) |
commit | 8fc370d7481eece79387a5900fef437a6567bdc2 (patch) | |
tree | f8951b4fc03e213bc0e10468c8ee63b45a64be63 | |
parent | c0d9a0cf3bf47d4da9a87a298d436cda4c932f45 (diff) | |
download | tcl-8fc370d7481eece79387a5900fef437a6567bdc2.zip tcl-8fc370d7481eece79387a5900fef437a6567bdc2.tar.gz tcl-8fc370d7481eece79387a5900fef437a6567bdc2.tar.bz2 |
Committed test cases for Bug 1451233
-rw-r--r-- | tests/parseExpr.test | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/parseExpr.test b/tests/parseExpr.test index 4c99525..c802a9e 100644 --- a/tests/parseExpr.test +++ b/tests/parseExpr.test @@ -8,7 +8,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: parseExpr.test,v 1.19 2006/03/21 18:30:55 dgp Exp $ +# RCS: @(#) $Id: parseExpr.test,v 1.20 2006/03/21 18:39:11 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -756,6 +756,16 @@ test parseExpr-19.1 {TclParseInteger: [Bug 648441]} { list [catch {expr 0x} result] $result } [list 1 {syntax error in expression "0x": extra tokens at end of expression}] +test parseExpr-20.1 {Bug 1451233} { + expr 1000000000000000000042 +} 1000000000000000000042 +test parseExpr-20.2 {Bug 1451233} { + expr 10000000000000000000420000000042 +} 10000000000000000000420000000042 +test parseExpr-20.2 {Bug 1451233} { + expr 10000000000000000000020000000002 +} 10000000000000000000020000000002 + # cleanup ::tcltest::cleanupTests return |