summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2024-03-13 01:03:10 (GMT)
committersebres <sebres@users.sourceforge.net>2024-03-13 01:03:10 (GMT)
commitb42cb3621e972c9abc287839f2258eb3a358739d (patch)
treef6731d65bb4cac31d53a1c87bc6bb9f6c716c40e /tests
parent8be245967eba0ad8e86faa8f6a4c0adb4ead6a6a (diff)
downloadtcl-b42cb3621e972c9abc287839f2258eb3a358739d.zip
tcl-b42cb3621e972c9abc287839f2258eb3a358739d.tar.gz
tcl-b42cb3621e972c9abc287839f2258eb3a358739d.tar.bz2
compat regression test: original clock ensemble supports prefixes
Diffstat (limited to 'tests')
-rw-r--r--tests/clock.test4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/clock.test b/tests/clock.test
index 3cfba06..d283e16 100644
--- a/tests/clock.test
+++ b/tests/clock.test
@@ -348,6 +348,10 @@ test clock-1.7 "clock format - option abbreviations" {
clock format 0 -g true -f "%Y-%m-%d"
} 1970-01-01
+test clock-1.7.1 "clock format - command abbreviations (compat regression test)" {
+ clock f 0 -g 1 -f "%Y-%m-%d"
+} 1970-01-01
+
test clock-1.8 "clock format -now" {
# give one second more for test (if on boundary of the current second):
set n [clock format [clock seconds] -g 1 -f "%s"]