diff --git a/nfpm_test.go b/nfpm_test.go index 7880d790..4124766a 100644 --- a/nfpm_test.go +++ b/nfpm_test.go @@ -17,6 +17,12 @@ import ( var mtime = time.Date(2023, 11, 5, 23, 15, 17, 0, time.UTC) +func TestEnumerate(t *testing.T) { + nfpm.RegisterPackager("deb", nil) + result := nfpm.Enumerate() + require.NotEmpty(t, result) +} + func TestRegister(t *testing.T) { format := "TestRegister" pkgr := &fakePackager{}