summaryrefslogtreecommitdiff
path: root/compat/json/borrowed_scanner_test.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@datawire.io>2022-08-14 20:52:06 -0600
committerLuke Shumaker <lukeshu@datawire.io>2022-08-16 00:05:24 -0600
commit54bbd1e59317a6e9658eb8098657078cc8e81979 (patch)
tree0d7033a0644945dedfe0fca158e0c40864f759f6 /compat/json/borrowed_scanner_test.go
parent2ae2ebe2a5ac712db6f9221cb1ad8cfa76aad180 (diff)
wip: Reduce test differences [ci-skip]
- Handle UTF-16 surrogate pairs - Handle cycles in values - Handle cycles in types - Better errors - Handle case-folding of struct field names - Allow []byteTypeWithMethods - Fix struct field-order - Fix handling of interfaces storing pointers - Enforce a maximum decode depth - Validate struct tags
Diffstat (limited to 'compat/json/borrowed_scanner_test.go')
-rw-r--r--compat/json/borrowed_scanner_test.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/compat/json/borrowed_scanner_test.go b/compat/json/borrowed_scanner_test.go
index 4955405..3474b3e 100644
--- a/compat/json/borrowed_scanner_test.go
+++ b/compat/json/borrowed_scanner_test.go
@@ -65,7 +65,6 @@ var ex1i = `[
]`
func TestCompact(t *testing.T) {
- t.Skip() // TODO
var buf bytes.Buffer
for _, tt := range examples {
buf.Reset()
@@ -86,7 +85,6 @@ func TestCompact(t *testing.T) {
}
func TestCompactSeparators(t *testing.T) {
- t.Skip() // TODO
// U+2028 and U+2029 should be escaped inside strings.
// They should not appear outside strings.
tests := []struct {
@@ -106,7 +104,6 @@ func TestCompactSeparators(t *testing.T) {
}
func TestIndent(t *testing.T) {
- t.Skip() // TODO
var buf bytes.Buffer
for _, tt := range examples {
buf.Reset()
@@ -192,7 +189,6 @@ var indentErrorTests = []indentErrorTest{
}
func TestIndentErrors(t *testing.T) {
- t.Skip() // TODO
for i, tt := range indentErrorTests {
slice := make([]uint8, 0)
buf := bytes.NewBuffer(slice)