Skip to content

Commit cfe4231

Browse files
authored
fix(docs): fix build failure of the CWT example (#214)
Signed-off-by: Shiwei Zhang <[email protected]>
1 parent 2f29631 commit cfe4231

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cwt_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
// This example demonstrates signing and verifying COSE_Sign1 signatures.
13-
func ExampleCWTMessage() {
13+
func ExampleCWTClaims() {
1414
// create message to be signed
1515
msgToSign := cose.NewSign1Message()
1616
msgToSign.Payload = []byte("hello world")

0 commit comments

Comments
 (0)