aboutsummaryrefslogtreecommitdiff
path: root/tests/format.test
AgeCommit message (Collapse)AuthorFilesLines
2021-03-09expr: TIP 526, only support a single argSteve Bennett1-6/+6
Avoid unexpected issues by concatenating multiple arguments. This does create an incompatibility with early versions, but it is generally trivial to convert existing code to one of two forms: 1. expr {$a + $b} -- usually correct 2. expr "$a + $b" -- usually incorrect Signed-off-by: Steve Bennett <steveb@workware.net.au>
2016-10-02Add some tests for paths identified as untested by gcov.Evan Hunter1-0/+4
Also prune a 'break' which was unreachable.
2014-10-11jim.c: string to double conversion error messageSteve Bennett1-1/+1
Change the error message to match Tcl 8.6 "expected floating-point number" instead of "expected number" Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-11-28Add basic support for [format %b]Steve Bennett1-0/+16
Binary conversion Signed-off-by: Steve Bennett <steveb@workware.net.au>
2012-09-06Fix conversion of numbers >= 2^31Steve Bennett1-0/+3
A conversion was being stored in a long rather than a long long Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-16Fix double to string on mingwunknown1-46/+46
The MS CRT always produces a 3 digit exponent for %e And update [format] tests to account for this difference
2010-11-22Overhaul unit test frameworkSteve Bennett1-21/+17
Much closer to tcltest now, including constraints. Try to get all appropriate tests running under both Jim and Tcl. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2010-11-17Add UTF-8 support to JimSteve Bennett1-0/+502
Signed-off-by: Steve Bennett <steveb@workware.net.au>