MCPcopy
hub / github.com/getsops/sops / parseConfigFile

Function parseConfigFile

config/config_test.go:425–430  ·  view source on GitHub ↗
(confBytes []byte, t *testing.T)

Source from the content-addressed store, hash-verified

423`)
424
425func parseConfigFile(confBytes []byte, t *testing.T) *configFile {
426 conf := &configFile{}
427 err := conf.load(confBytes)
428 assert.Nil(t, err)
429 return conf
430}
431
432func TestLoadConfigFile(t *testing.T) {
433 expected := configFile{

Calls 1

loadMethod · 0.95

Tested by

no test coverage detected