summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2017-01-10 22:41:18 (GMT)
committersebres <sebres@users.sourceforge.net>2017-01-10 22:41:18 (GMT)
commitae0148ee3925f838692b0f69aef337675e32881b (patch)
tree0b3b82ec57197c2dc0a9eaee682612848fba26fc /tests
parentbc93c0f3ab88c29a0985e463ccd73fafaddddbc9 (diff)
downloadtcl-ae0148ee3925f838692b0f69aef337675e32881b.zip
tcl-ae0148ee3925f838692b0f69aef337675e32881b.tar.gz
tcl-ae0148ee3925f838692b0f69aef337675e32881b.tar.bz2
[temp-commit]: format almost ready (missing some tokens)
Diffstat (limited to 'tests')
-rw-r--r--tests/clock.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/clock.test b/tests/clock.test
index a4641c6..b27d2a3 100644
--- a/tests/clock.test
+++ b/tests/clock.test
@@ -18600,6 +18600,11 @@ test clock-6.18 {zone token (%z) is optional} {
[clock scan " 2009-06-30T18:30:00 " -format "%Y-%m-%dT%H:%M:%S %z" -gmt 1] \
} {1246390200 1246386600 1246386600}
+test clock-6.19 {no token parsing} {
+ list [catch { clock scan "%E%O%" -format "%E%O%" }] \
+ [catch { clock scan "...%..." -format "...%%..." }]
+} {0 0}
+
test clock-7.1 {Julian Day} {
clock scan 0 -format %J -gmt true
} -210866803200