summaryrefslogtreecommitdiffhomepage
path: root/device
diff options
context:
space:
mode:
Diffstat (limited to 'device')
-rw-r--r--device/device_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/device/device_test.go b/device/device_test.go
index 02b1c35..7958fb9 100644
--- a/device/device_test.go
+++ b/device/device_test.go
@@ -10,7 +10,7 @@ import (
"encoding/hex"
"errors"
"fmt"
- "io/ioutil"
+ "io"
"math/rand"
"net"
"runtime"
@@ -402,7 +402,7 @@ func BenchmarkUAPIGet(b *testing.B) {
b.ReportAllocs()
b.ResetTimer()
for i := 0; i < b.N; i++ {
- pair[0].dev.IpcGetOperation(ioutil.Discard)
+ pair[0].dev.IpcGetOperation(io.Discard)
}
}