Skip to content

Commit

Permalink
new clock regression test, illustrating incompatibility of new engine
Browse files Browse the repository at this point in the history
  • Loading branch information
sebres committed Apr 17, 2024
1 parent 480f2d7 commit b02f578
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/clock.test
Original file line number Diff line number Diff line change
Expand Up @@ -37022,6 +37022,13 @@ test clock-44.2 {regression test - time zone containing only two digits} \
} \
-result 482134530

test clock-44.3 {regression test - spaces between some scan tokens are optional} \
-body {
list [clock scan {9 Apr 2024} -format {%d %b%Y} -gmt 1] \
[clock scan {Tue, 9 Apr 2024 00:00:00 +0000} -format {%a, %d %b%Y %H:%M:%S %Z} -gmt 1]
} \
-result {1712620800 1712620800}

test clock-45.1 {compat: scan regression on spaces (multiple spaces in format)} \
-body {
list \
Expand Down

0 comments on commit b02f578

Please sign in to comment.