Skip to content

Commit

Permalink
compat regression test: original clock ensemble supports prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
sebres committed Mar 13, 2024
1 parent 7324c62 commit 4e536b4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/clock.test
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,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"]
Expand Down

0 comments on commit 4e536b4

Please sign in to comment.