...

Source file src/edge-infra.dev/third_party/k8s/fluxcd/fluxcd_test.go

Documentation: edge-infra.dev/third_party/k8s/fluxcd

     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  

View as plain text