From b42cb3621e972c9abc287839f2258eb3a358739d Mon Sep 17 00:00:00 2001 From: sebres Date: Wed, 13 Mar 2024 01:03:10 +0000 Subject: compat regression test: original clock ensemble supports prefixes --- tests/clock.test | 4 ++++ 1 file changed, 4 insertions(+) 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"] -- cgit v0.12