Skip to content

Commit

Permalink
Completing the remainder of the comments
Browse files Browse the repository at this point in the history
Signed-off-by: Yogesh Deshpande <[email protected]>
  • Loading branch information
yogeshbdeshpande committed Jan 23, 2024
1 parent 6226b49 commit dfa7ca7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion comid/classid_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ func Test_NewBytesClassID_OK(t *testing.T) {
classID, err := NewBytesClassID(v)
require.NoError(t, err)
got := classID.Bytes()
assert.Equal(t, testBytes[:], got)
assert.Equal(t, testBytes, got)
}
}

Expand Down
2 changes: 1 addition & 1 deletion comid/group_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func Test_NewBytesGroup_OK(t *testing.T) {
group, err := NewBytesGroup(v)
require.NoError(t, err)
got := group.Bytes()
assert.Equal(t, testBytes[:], got)
assert.Equal(t, testBytes, got)
}
}

Expand Down
2 changes: 1 addition & 1 deletion comid/instance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func TestInstance_UnmarshalJSON_Bytes_OK(t *testing.T) {
},
{
Name: "valid input test 2",
Input: `{ "type": "bytes", "value": "deadbeef"}`,
Input: `{ "type": "bytes", "value": "CgsMDQ4="}`,
},
} {
t.Run(tv.Name, func(t *testing.T) {
Expand Down

0 comments on commit dfa7ca7

Please sign in to comment.