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

Function TestLoadEncryptedFileNoMetadata

stores/dotenv/store_test.go:48–52  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

46}
47
48func TestLoadEncryptedFileNoMetadata(t *testing.T) {
49 branches, err := (&Store{}).LoadEncryptedFile(PLAIN)
50 assert.Equal(t, err, sops.MetadataNotFound)
51 assert.Equal(t, branches, sops.Tree{})
52}
53
54func TestEmitPlainFile(t *testing.T) {
55 branches := sops.TreeBranches{

Callers

nothing calls this directly

Calls 1

LoadEncryptedFileMethod · 0.65

Tested by

no test coverage detected