summaryrefslogtreecommitdiff
path: root/data/data_test.go
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2023-03-19 21:31:54 -0400
committerDave Henderson <dhenderson@gmail.com>2023-03-19 21:31:54 -0400
commite34b2a5d28970f0fd3ae677180a1e33488245a4c (patch)
treeef090e783ace329dac9df1d92ed237469a466e9d /data/data_test.go
parente89af5debb3a5d15a571d501bdd12b1fd8861cea (diff)
fix new lint errors
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'data/data_test.go')
-rw-r--r--data/data_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/data_test.go b/data/data_test.go
index 2dae989c..2d847a99 100644
--- a/data/data_test.go
+++ b/data/data_test.go
@@ -169,11 +169,11 @@ func TestToJSONBytes(t *testing.T) {
type badObject struct {
}
-func (b *badObject) CodecEncodeSelf(e *codec.Encoder) {
+func (b *badObject) CodecEncodeSelf(_ *codec.Encoder) {
panic("boom")
}
-func (b *badObject) CodecDecodeSelf(e *codec.Decoder) {
+func (b *badObject) CodecDecodeSelf(_ *codec.Decoder) {
}