1 package fluxcd 2 3 import ( 4 "testing" 5 ) 6 7 func TestLoadManifests(t *testing.T) { 8 objs, err := LoadManifests() 9 if err != nil { 10 t.Fatal("unexpected error while loading manifests", err) 11 } 12 13 if len(objs) == 0 { 14 t.Fatal("no objects returned by LoadManifests, there should be at least one") 15 } 16 } 17