From 9e65644f473d75ceb7e3ef67302189eeaba0f922 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Mon, 14 Sep 2026 22:39:27 +0200 Subject: plan 10: missing and weak tests (per-step logging, trash path, fuzz oracle, w after error) --- cmd/krino/history_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/krino/history_test.go') 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") { -- cgit v1.3