summaryrefslogtreecommitdiff
path: root/compat/json/borrowed_decode_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'compat/json/borrowed_decode_test.go')
-rw-r--r--compat/json/borrowed_decode_test.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/compat/json/borrowed_decode_test.go b/compat/json/borrowed_decode_test.go
index 4b84718..4b9d0cb 100644
--- a/compat/json/borrowed_decode_test.go
+++ b/compat/json/borrowed_decode_test.go
@@ -10,7 +10,6 @@ import (
"errors"
"fmt"
"image"
- "io" // MODIFIED
"math"
"math/big"
"net"
@@ -19,8 +18,6 @@ import (
"strings"
"testing"
"time"
-
- "git.lukeshu.com/go/lowmemjson" // MODIFIED
)
type T struct {
@@ -1093,7 +1090,7 @@ func equalError(a, b error) bool {
func TestUnmarshal(t *testing.T) {
for i, tt := range unmarshalTests {
- scan := lowmemjson.ReEncoder{Out: io.Discard} // MODIFIED
+ var scan scanner
in := []byte(tt.in)
if err := checkValid(in, &scan); err != nil {
if !equalError(err, tt.err) {