MCPcopy Index your code
hub / github.com/getsops/sops / TestLoadConfigFileWithOnlyDestinationRules

Function TestLoadConfigFileWithOnlyDestinationRules

config/config_test.go:615–619  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

613}
614
615func TestLoadConfigFileWithOnlyDestinationRules(t *testing.T) {
616 conf, err := parseCreationRuleForFile(parseConfigFile(sampleConfigWithOnlyDestinationRules, t), "/conf/path", "foobar2000", nil)
617 assert.Nil(t, conf)
618 assert.Nil(t, err)
619}
620
621func TestKeyGroupsForFile(t *testing.T) {
622 conf, err := parseCreationRuleForFile(parseConfigFile(sampleConfig, t), "/conf/path", "foobar2000", nil)

Callers

nothing calls this directly

Calls 2

parseCreationRuleForFileFunction · 0.85
parseConfigFileFunction · 0.85

Tested by

no test coverage detected