summaryrefslogtreecommitdiff
path: root/compat/json/compat_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'compat/json/compat_test.go')
-rw-r--r--compat/json/compat_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat/json/compat_test.go b/compat/json/compat_test.go
index 23ee977..dac5e54 100644
--- a/compat/json/compat_test.go
+++ b/compat/json/compat_test.go
@@ -54,6 +54,7 @@ type encodeState struct {
func (es *encodeState) string(str string, _ bool) {
internal.EncodeStringFromString(&es.Buffer, str)
}
+
func (es *encodeState) stringBytes(str []byte, _ bool) {
internal.EncodeStringFromBytes(&es.Buffer, str)
}