diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-16 17:32:17 -0700 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2023-02-18 22:45:54 -0700 |
commit | a87d6cbbb51a19071c5c742ef3c91bbb90a727c6 (patch) | |
tree | 5a1f15a62553a6dbddd10d32cdd5335e660225bc /compat/json/testcompat_test.go | |
parent | 2eb60b8be25a4b0fe3f1c5d5ca302e7e68190bad (diff) |
compat/json: Indent: Preserve trailing whitespace
Diffstat (limited to 'compat/json/testcompat_test.go')
-rw-r--r-- | compat/json/testcompat_test.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/compat/json/testcompat_test.go b/compat/json/testcompat_test.go index e89b4b4..73153d9 100644 --- a/compat/json/testcompat_test.go +++ b/compat/json/testcompat_test.go @@ -46,15 +46,6 @@ const ( startDetectingCyclesAfter = 1000 ) -func isSpace(c byte) bool { - switch c { - case 0x0020, 0x000A, 0x000D, 0x0009: - return true - default: - return false - } -} - type encodeState struct { bytes.Buffer } |