Skip to content

Commit 90f1ce8

Browse files
author
Jamie Tanna
committed
Lint: remove ineffectual assignments
1 parent a66eb89 commit 90f1ce8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

file_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ func TestFileJSON(t *testing.T) {
4848
err = json.Unmarshal(buf, &o4)
4949
require.NoError(t, err)
5050
o4Bytes, err := o4.BinaryFieldPtr.Bytes()
51+
require.NoError(t, err)
5152
assert.Equal(t, []byte("hello"), o4Bytes)
5253

5354
}

0 commit comments

Comments
 (0)