add failing test

This commit is contained in:
Alexander Wang 2023-02-13 14:47:35 -08:00
parent 305ed09632
commit 2dfa0bef86
No known key found for this signature in database
GPG key ID: D89FA31966BDBECE

View file

@ -1755,6 +1755,20 @@ b
assert.JSON(t, 0, len(g.Objects[0].Children)) assert.JSON(t, 0, len(g.Objects[0].Children))
}, },
}, },
{
name: "out_of_newline_container",
text: `"a\n": {
b
}
`,
key: `"a\n".b`,
newKey: `b`,
exp: `"a\n"
b
`,
},
{ {
name: "partial_slice", name: "partial_slice",