Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package msgpack_test
import (
"bytes"
"encoding/json"
"io/ioutil"
"io"
"math"
"testing"
"time"
Expand All @@ -12,7 +12,7 @@ import (
)

func BenchmarkDiscard(b *testing.B) {
enc := msgpack.NewEncoder(ioutil.Discard)
enc := msgpack.NewEncoder(io.Discard)

b.ResetTimer()

Expand Down