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

Function TestMasterKey_ToString

gcpkms/keysource_test.go:110–114  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

108}
109
110func TestMasterKey_ToString(t *testing.T) {
111 rsrcId := testResourceID
112 key := NewMasterKeyFromResourceID(rsrcId)
113 assert.Equal(t, rsrcId, key.ToString())
114}
115
116func TestMasterKey_ToMap(t *testing.T) {
117 key := MasterKey{

Callers

nothing calls this directly

Calls 2

ToStringMethod · 0.65

Tested by

no test coverage detected