diff options
Diffstat (limited to 'compat/json/borrowed_decode_test.go')
-rw-r--r-- | compat/json/borrowed_decode_test.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compat/json/borrowed_decode_test.go b/compat/json/borrowed_decode_test.go index ac8594b..306f85e 100644 --- a/compat/json/borrowed_decode_test.go +++ b/compat/json/borrowed_decode_test.go @@ -2,7 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -package lowmemjson // MODIFIED +package json import ( "bytes" @@ -19,6 +19,8 @@ import ( "strings" "testing" "time" + + "git.lukeshu.com/go/lowmemjson" // MODIFIED ) type T struct { @@ -1093,9 +1095,7 @@ func equalError(a, b error) bool { func TestUnmarshal(t *testing.T) { t.Skip() // TODO for i, tt := range unmarshalTests { - scan := &ReEncoder{ - Out: io.Discard, - } + scan := lowmemjson.ReEncoder{Out: io.Discard} // MODIFIED in := []byte(tt.in) if _, err := scan.Write(in); err != nil { if !equalError(err, tt.err) { |