Skip to content

Commit

Permalink
Add deeply nested input in golden tests for spliceList
Browse files Browse the repository at this point in the history
  • Loading branch information
kekavc24 committed May 31, 2024
1 parent f223d48 commit 825b7cf
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 7 deletions.
12 changes: 9 additions & 3 deletions test/testdata/input/splicelist_in_nested_block_list.test
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
SLICE LIST IN NESTED BLOCK LIST
---
key:
- true
- - false
- foo:
- - bar:
- - - false
- - - false
- - - false
---
- [splice, [key, 1], 0, 1, ['test']]
- [splice, [key], 0, 0, ['pre-foo']]
- [splice, [key, 1, 'foo', 0], 0, 1, ['test']]
- [splice, [key, 2], 0, 0, ['test']]
- [splice, [key], 4, 1, ['tail-foo']]
41 changes: 37 additions & 4 deletions test/testdata/output/splicelist_in_nested_block_list.golden
Original file line number Diff line number Diff line change
@@ -1,7 +1,40 @@
key:
- true
- - false
- foo:
- - bar:
- - - false
- - - false
- - - false
---
key:
- true
- - test
- pre-foo
- foo:
- - bar:
- - - false
- - - false
- - - false
---
key:
- pre-foo
- foo:
- - test
- - - false
- - - false
- - - false
---
key:
- pre-foo
- foo:
- - test
- - test
- - false
- - - false
- - - false
---
key:
- pre-foo
- foo:
- - test
- - test
- - false
- - - false
- tail-foo

0 comments on commit 825b7cf

Please sign in to comment.