summaryrefslogtreecommitdiffstats
path: root/tests/get.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2005-07-28 18:42:28 (GMT)
committerdgp <dgp@users.sourceforge.net>2005-07-28 18:42:28 (GMT)
commitcb789f51b77dd4702d548d9aa828a757472b725a (patch)
tree85f757e2612f551d93a44ffbca41b861711fe9b2 /tests/get.test
parent97b69e6ac0b3bfe72f1e3e4a490af5a45fb22776 (diff)
downloadtcl-cb789f51b77dd4702d548d9aa828a757472b725a.zip
tcl-cb789f51b77dd4702d548d9aa828a757472b725a.tar.gz
tcl-cb789f51b77dd4702d548d9aa828a757472b725a.tar.bz2
* tests/compExpr-old.test: Still more conversion of "nonPortable"
* tests/error.test: tests into tests with constraints that * tests/expr-old.test: describe the limits of their * tests/expr.test: portability. Also more consolidation * tests/fileName.test: of constraint synonyms. * tests/format.test: wideis64bit, 64bitInts => wideIs64bit * tests/get.test: wideIntegerUnparsed => wideIs32bit * tests/load.test: wideIntExpressions => wideBiggerThanInt * tests/obj.test: * tests/parseExpr.test: Dropped "roundOffBug" constraint that * tests/string.test: protected from buggy sprintf.
Diffstat (limited to 'tests/get.test')
-rw-r--r--tests/get.test8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/get.test b/tests/get.test
index ceed09d..46301e8 100644
--- a/tests/get.test
+++ b/tests/get.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: get.test,v 1.10 2005/07/27 18:12:43 dgp Exp $
+# RCS: @(#) $Id: get.test,v 1.11 2005/07/28 18:42:32 dgp Exp $
if {[lsearch [namespace children] ::tcltest] == -1} {
package require tcltest
@@ -74,9 +74,9 @@ test get-2.2 {Tcl_GetInt procedure} {
test get-2.3 {Tcl_GetInt procedure} {
list [catch {format %g clip} msg] $msg
} {1 {expected floating-point number but got "clip"}}
-test get-2.4 {Tcl_GetInt procedure} {nonPortable} {
- list [catch {format %g .000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001} msg] $msg $errorCode
-} {1 {floating-point value too small to represent} {ARITH UNDERFLOW {floating-point value too small to represent}}}
+test get-2.4 {Tcl_GetInt procedure} {
+ format %g .000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001
+} 0
test get-3.1 {Tcl_GetInt(FromObj), bad numbers} {
# SF bug #634856