aboutsummaryrefslogtreecommitdiff
path: root/cmd/krino/history_test.go
diff options
context:
space:
mode:
authorLukasz Kasprzak <lukas@labunix.xyz>2026-09-14 22:39:27 +0200
committerLukasz Kasprzak <lukas@labunix.xyz>2026-09-14 22:39:27 +0200
commit9e65644f473d75ceb7e3ef67302189eeaba0f922 (patch)
tree6cde9486fb55e035f5e9041f5ba2cd579c9c8ff2 /cmd/krino/history_test.go
parent8227de6a887c8600746b06d1287cb2b00de77e28 (diff)
downloadkrino-9e65644f473d75ceb7e3ef67302189eeaba0f922.tar.gz
krino-9e65644f473d75ceb7e3ef67302189eeaba0f922.zip
plan 10: missing and weak tests (per-step logging, trash path, fuzz oracle, w after error)
Diffstat (limited to 'cmd/krino/history_test.go')
-rw-r--r--cmd/krino/history_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/krino/history_test.go b/cmd/krino/history_test.go
index 6d8c1e4..7c0f810 100644
--- a/cmd/krino/history_test.go
+++ b/cmd/krino/history_test.go
@@ -506,6 +506,8 @@ func TestMinAgeRejectedOutsideSortAndExplain(t *testing.T) {
{"--min-age", "garbage", "undo", "-n"},
{"check", "--min-age", "1d"},
{"log", "--min-age", "1d"},
+ {"init", "--min-age", "1d"},
+ {"new", "--min-age", "1d", "x", "/tmp"},
{"-n", "--min-age="},
} {
if code, _, errOut := runCLI(t, args...); code != 2 || !strings.Contains(errOut, "--min-age") {