summaryrefslogtreecommitdiffstats
path: root/tests/expr.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2010-10-26 15:05:08 (GMT)
committerdgp <dgp@users.sourceforge.net>2010-10-26 15:05:08 (GMT)
commitc035183a935fdb075e8d424501c9588dc0d1ee95 (patch)
tree2dd06c7afbc102904336e062acb8514b7fbc78f3 /tests/expr.test
parent408495bbff42d176d340658977bf1942b11495cf (diff)
downloadtcl-c035183a935fdb075e8d424501c9588dc0d1ee95.zip
tcl-c035183a935fdb075e8d424501c9588dc0d1ee95.tar.gz
tcl-c035183a935fdb075e8d424501c9588dc0d1ee95.tar.bz2
Coverage test for portion of ExprSqrtFunc()
Diffstat (limited to 'tests/expr.test')
-rw-r--r--tests/expr.test6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/expr.test b/tests/expr.test
index 05fc956..cdda607 100644
--- a/tests/expr.test
+++ b/tests/expr.test
@@ -10,7 +10,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.test,v 1.78 2010/02/21 20:09:38 nijtmans Exp $
+# RCS: @(#) $Id: expr.test,v 1.79 2010/10/26 15:05:08 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest 2.1
@@ -7169,6 +7169,10 @@ test expr-49.1 {Bug 2823282} {
foo 1
} 1
+test expr-50.1 {test sqrt() of bignums with non-Inf answer} {
+ expr {sqrt("1[string repeat 0 616]") == 1e308}
+} 1
+
# cleanup