Skip to content

Commit

Permalink
Fix unit test for decode header refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
braheezy committed May 25, 2024
1 parent 046b822 commit 190a172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/qoa/qoa_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ func TestDecodeHeader(t *testing.T) {

for _, tc := range testCases {
t.Run(tc.desc, func(t *testing.T) {
q, err := DecodeHeader(tc.bytes, len(tc.bytes))
q, err := DecodeHeader(tc.bytes)
if tc.hasError {
assert.NotNil(t, err, "Expected error")
} else {
Expand Down

0 comments on commit 190a172

Please sign in to comment.