summaryrefslogtreecommitdiffstats
path: root/tests/scan.test
Commit message (Collapse)AuthorAgeFilesLines
* fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-4/+4
| | | FossilOrigin-Name: 1e5261316ed076ff5ff69f2a720e8eff30fcf66e
* * doc/DoubleObj.3: More doc updates for TIP 237.dgp2006-04-251-1/+5
| | | | | | | | | | * doc/scan.n: * generic/tclScan.c: [scan $s %u] is documented to accept only * tests/scan.test: decimal formatted integers. Fixed code to match. FossilOrigin-Name: d0317c20badd1d6208c5eeff7def892a4c09ffac
* Use test constraints properly instead of looking in tcl_platformdkf2006-03-211-2/+2
| | | | | | | Consistent method of calling test constraints, and (try to) move constraint setup to the top of the test file FossilOrigin-Name: 36829d55d6ebcac6be4d3d7d887b06650a5b394a
* 2005-12-19 Don Porter <dgp@users.sourceforge.net>dgp2005-12-191-2/+8
| | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c: Modified [string is double] to use * tests/string.test: TclParseNumber() to parse trailing whitespace. Ensures consistency, and makes it easier to cleanup after invalid internal reps left behind by parsing [Bugs 1360432 1382287]. * generic/tclParseExpr.c: Added TCL_PARSE_NO_WHITESPACE to * generic/tclScan.c: TclParseNumber() calls since [scan] and * tests/scan.test: [expr] parsing don't want spaces in parsed numbers. * generic/tclInt.h: Added TCL_PARSE_NO_WHITESPACE flag to the * generic/tclStrToD.c: TclParseNumber() interface. FossilOrigin-Name: 7245b18069391be3d914995ab419daeede7ced6e
* TIP#237 IMPLEMENTATIONdgp2005-10-081-3/+80
| | | | | | | | [kennykb-numerics-branch] Resynchronized with the HEAD; at this checkpoint [-rkennykb-numerics-branch-20051008], the HEAD and kennykb-numerics-branch contain identical code. FossilOrigin-Name: 83fdb360a9aec952bc3ad040afe39106bf9e5ec3
* * tests/compExpr-old.test: Still more conversion of "nonPortable"dgp2005-07-281-3/+4
| | | | | | | | | | | | | | | * 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. FossilOrigin-Name: ef95c5ebb73ec498014e2debf287e96985b6a84c
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232kennykb2005-05-101-3/+3
| | | FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
* Ensure that the %ld conversion works correctly on 64-bit platforms. [Bug ↵dkf2004-08-191-2/+5
| | | | | 1011860] FossilOrigin-Name: 142ba4167bd308cc16fc0b7c91dc37d398d6074c
* * Corrections to tcltest and the Tcl test suite so that a testdgp2002-06-221-4/+3
| | | | | | | | | with options -constraints knownBug -limitConstraints 1 only tests the knownBug tests. Mostly involves replacing direct access to the testConstraints array with calls to the testConstraint command (which requires tcltest version 2). FossilOrigin-Name: 9ba9324aefb481870bbdcf7c812e149be23ddd02
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-1/+10
| | | | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode. FossilOrigin-Name: 8d82de1905ada4c5d06f5fb967721e8b681b7c82
* * tests/scan.test:hobbs2002-02-071-2/+13
| | | | | | | | * generic/tclScan.c (Tcl_ScanObjCmd): corrected scan 0x... %x handling that didn't accept the 0x as a prelude to a base 16 number. [Bug #495213] FossilOrigin-Name: 003ecd26bac43398fa149d53840683b81f043807
* * docs/scan.n:hobbs2000-12-101-15/+30
| | | | | | | | | * tests/scan.test: * generic/tclScan.c (Tcl_ScanObjCmd): changed %o and %x to use strtoul instead of strtol to correctly preserve scan<>format conversion of large integers. [Patch #102663, Bug #124600] FossilOrigin-Name: c628433a43ea646a30778a09baa2dcc12aee00a9
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948]. FossilOrigin-Name: c2f93a113cfcb17a21da67cc20f54ab3f1b9fa3c
* * tests/scan.test:hobbs1999-11-301-1/+5
| | | | | | | * generic/tclScan.c: fixed scan where %[..] didn't match anything and added test case [Bug: 3700] FossilOrigin-Name: 27ebd6ad86e7098995c815fc6832a0517ddfc46b
* * tests/scan.test:hobbs1999-11-191-6/+30
| | | | | | | * generic/tclScan.c: finished support for inline scan by supporting XPG identifiers. FossilOrigin-Name: 67351ebdfbfda1cdb413810df912cc7da8d3143a
* added tests for related fixeshobbs1999-10-291-7/+38
| | | FossilOrigin-Name: 19dabe4e595ae859a736d47968514ca495bbe872
* Fixed style problems in many of the test files.rjohnson1999-06-261-2/+2
| | | | | | Fixed bug in pkg.test where defs.tcl was still being used. FossilOrigin-Name: dbfd75f43f496269e869e2fbd58f86e25bdcef4c
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
| | | FossilOrigin-Name: fdb0602e41e62bf526806c165dbf3f33a718fd37
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-71/+411
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* cleaned up test suite so most of the tests pass on Windowsstanton1998-11-021-2/+2
| | | FossilOrigin-Name: e3b726ecfd82a8528d888f544650da8fa92946e1
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* Initial revisionrjohnson1998-03-261-0/+246
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a