diff --git a/internal/commands/index_test.go b/internal/commands/index_test.go index 2973acff3..5c5ff9514 100644 --- a/internal/commands/index_test.go +++ b/internal/commands/index_test.go @@ -47,7 +47,9 @@ func TestIndexCommand(t *testing.T) { if l != "" { // Expected index command output. assert.NotContains(t, l, "error") - assert.Contains(t, l, "found no .ppignore file") + assert.NotContains(t, l, "warning") + assert.NotContains(t, l, "failed") + assert.Contains(t, l, "closed database connection") } else { t.Fatal("log output missing") }