diff options
Diffstat (limited to 'cmd/krino/history_test.go')
| -rw-r--r-- | cmd/krino/history_test.go | 2 |
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") { |
