Skip to content

Commit 906d402

Browse files
committed
Update test case
1 parent 9c4cbb2 commit 906d402

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

cmd/installer/root_pack_list_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,8 @@ func TestListInstalledPacks(t *testing.T) {
368368
log.SetOutput(&buf)
369369
defer log.SetOutput(io.Discard)
370370

371-
// list --public --deprecated should NOT show packs with future deprecation date
372-
assert.Nil(installer.ListInstalledPacks(!ListCached, ListPublic, !ListUpdates, ListDeprecated, !ListRequirements, true, ListFilter))
371+
// list --deprecated should NOT show packs with future deprecation date
372+
assert.Nil(installer.ListInstalledPacks(!ListCached, !ListPublic, !ListUpdates, ListDeprecated, !ListRequirements, true, ListFilter))
373373
stdout := buf.String()
374374
assert.NotContains(stdout, "TheVendor::FutureDeprecatedPack@1.0.0")
375375
})

0 commit comments

Comments
 (0)