mirror of
https://github.com/mikefarah/yq.git
synced 2026-06-30 17:21:42 +00:00
test: add nested array bracket properties decode case
This commit is contained in:
parent
4a02b1ed20
commit
3d21feb3ce
@ -222,6 +222,17 @@ user.credentials[2].password=$2b$10$...`,
|
||||
`,
|
||||
scenarioType: "decode-array-brackets",
|
||||
},
|
||||
{
|
||||
skipDoc: true,
|
||||
description: "Decode properties with nested array brackets",
|
||||
input: `user.clowns[0][1] = "cool"`,
|
||||
expected: `user:
|
||||
clowns:
|
||||
- - null
|
||||
- '"cool"'
|
||||
`,
|
||||
scenarioType: "decode-array-brackets",
|
||||
},
|
||||
|
||||
{
|
||||
skipDoc: true,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user