summaryrefslogtreecommitdiffstats
path: root/tests/scan.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2011-09-01 17:13:59 (GMT)
committerdgp <dgp@users.sourceforge.net>2011-09-01 17:13:59 (GMT)
commit17706bbc78ed27de8dee78c6ea4c6d3d0762157c (patch)
tree958809c8acbbd29e5562804b7f60bf29c9d3e7b3 /tests/scan.test
parent407a1cd7a5972ef6ca0b2482ac407845d817427e (diff)
downloadtcl-17706bbc78ed27de8dee78c6ea4c6d3d0762157c.zip
tcl-17706bbc78ed27de8dee78c6ea4c6d3d0762157c.tar.gz
tcl-17706bbc78ed27de8dee78c6ea4c6d3d0762157c.tar.bz2
3402540 Corrections to TclParseNumber() to make it reject invalid Nan(Hex)
[scan Inf %g] is portable; remove constraint.
Diffstat (limited to 'tests/scan.test')
-rw-r--r--tests/scan.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/scan.test b/tests/scan.test
index b37ce0c..34351e0 100644
--- a/tests/scan.test
+++ b/tests/scan.test
@@ -749,11 +749,11 @@ testConstraint ieeeFloatingPoint [testIEEE]
# scan infinities - not working
-test scan-14.1 {infinity} ieeeFloatingPoint {
+test scan-14.1 {infinity} {
scan Inf %g d
set d
} Inf
-test scan-14.2 {infinity} ieeeFloatingPoint {
+test scan-14.2 {infinity} {
scan -Inf %g d
set d
} -Inf