diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-25 16:17:01 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-25 17:51:36 -0700 |
commit | f68498a6fdb421483d9aebb45527452f6255bb68 (patch) | |
tree | eb2bd34a7c51a8df7239b0174a939ee64b136467 /internal/jsonparse/parse_test.go | |
parent | 7301cd6c4e97b272bd708d4c87d26609510e6ca7 (diff) |
jsonparse: Don't show raw bytes as Unicode
Diffstat (limited to 'internal/jsonparse/parse_test.go')
-rw-r--r-- | internal/jsonparse/parse_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
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()) } |