summaryrefslogtreecommitdiffstats
path: root/testscripts/commands
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-02-17 12:32:25 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-02-17 13:14:15 +0100
commit4835f9e898350ac49d68fba2343a71ceb29e6897 (patch)
treea475d6abd228cc1f76989a7ead71599e9f389c44 /testscripts/commands
parent5bdda0bdbf5eca4064d395219d0797aaed24070f (diff)
commands: Fix --clock with the list command
Fixes #11888
Diffstat (limited to 'testscripts/commands')
-rw-r--r--testscripts/commands/list.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/testscripts/commands/list.txt b/testscripts/commands/list.txt
index 42d74cec7..8cbf93266 100644
--- a/testscripts/commands/list.txt
+++ b/testscripts/commands/list.txt
@@ -28,6 +28,9 @@ stdout 'expired.md'
stdout 'draftexpired.md'
stdout 'draftfuture.md'
+hugo list expired --clock 2000-01-01T00:00:00Z
+! stdout 'expired.md'
+
-- hugo.toml --
baseURL = "https://example.org/"
disableKinds = ["taxonomy", "term"]