From 3f8679be9373ee7508d512dfdfc1dda0839c7f90 Mon Sep 17 00:00:00 2001 From: Lukasz Kasprzak Date: Sat, 12 Sep 2026 20:14:47 +0200 Subject: krino: acting — trash, journal, apply, lock, review, undo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmd/krino/main_test.go | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'cmd/krino/main_test.go') diff --git a/cmd/krino/main_test.go b/cmd/krino/main_test.go index 46ceb44..1c01fa0 100644 --- a/cmd/krino/main_test.go +++ b/cmd/krino/main_test.go @@ -51,10 +51,14 @@ func TestCommandsAreReserved(t *testing.T) { } } -func TestSortNotYet(t *testing.T) { +// TestSortNoConfig: apply is implemented as of Task 7, so running with no +// config at all now fails the same way every other command does — "not +// found" from engine.Load, not the old "not implemented yet" hard stop this +// test used to pin (removed as part of Task 7; see cmd/krino/sort.go). +func TestSortNoConfig(t *testing.T) { home(t) code, _, errOut := runCLI(t) - if code != 2 || !strings.Contains(errOut, "not implemented yet") { + if code != 2 || !strings.Contains(errOut, "not found; create it with: krino init") { t.Fatalf("got %d %q", code, errOut) } } -- cgit v1.3