From f68498a6fdb421483d9aebb45527452f6255bb68 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 25 Feb 2023 16:17:01 -0700 Subject: jsonparse: Don't show raw bytes as Unicode --- internal/jsonparse/parse_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/jsonparse/parse_test.go') diff --git a/internal/jsonparse/parse_test.go b/internal/jsonparse/parse_test.go index e531daf..acb43e8 100644 --- a/internal/jsonparse/parse_test.go +++ b/internal/jsonparse/parse_test.go @@ -69,7 +69,7 @@ func TestParserHandleRune(t *testing.T) { } for i, r := range tc.Input { assert.Equal(t, tc.ExpStack[i], par.stackString()) - _, err := par.HandleRune(r) + _, err := par.HandleRune(r, true) assert.NoError(t, err) assert.Equal(t, tc.ExpStack[i+1], par.stackString()) } -- cgit v1.2.3-2-g168b