Skip to content

Commit

Permalink
chore(lint): fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
imsk17 committed Oct 19, 2024
1 parent ee26b4f commit edcc056
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cbor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ func Test_DefaultCBORDecoderWithUnitializedStruct(t *testing.T) {

var (
ss sampleStructure
emptySs sampleStructure
importantString, err = hex.DecodeString("a170696d706f7274616e745f737472696e6760")
cborDecoder CBORUnmarshal = cbor.Unmarshal
)
Expand All @@ -105,5 +106,5 @@ func Test_DefaultCBORDecoderWithUnitializedStruct(t *testing.T) {

err = cborDecoder(importantString, &ss)
require.NoError(t, err)
require.Equal(t, ss, ss)
require.Equal(t, emptySs, ss)
}

0 comments on commit edcc056

Please sign in to comment.