Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Jan 20, 2024
1 parent 2cdba3a commit 42c715d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cose/header_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func TestHeaderBytes(t *testing.T) {

data[1] = 0xf5
_, err = HeadersFromBytes(data)
assert.ErrorContains(err, "invalid key type")
assert.ErrorContains(err, "invalid key")

h = Headers{iana.HeaderParameterReserved: func() {}}
_, err = h.Bytes()
Expand Down

0 comments on commit 42c715d

Please sign in to comment.