Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chanify/chanify
/ TestPublicKeyEncrypt
Function
TestPublicKeyEncrypt
model/user_test.go:17–22 ·
view source on GitHub ↗
(t *testing.T)
Source
from the content-addressed store, hash-verified
15
}
16
17
func
TestPublicKeyEncrypt(t *testing.T) {
18
u := &User{}
19
if
len(u.PublicKeyEncrypt([]byte{})) > 0 {
20
t.Fatal(
"Check public key encrypt failed"
)
21
}
22
}
Callers
nothing calls this directly
Calls
1
PublicKeyEncrypt
Method · 0.95
Tested by
no test coverage detected