lib.generators.toKDL: add tests for root-level children
This commit is contained in:
parent
3912c447ee
commit
fbd566923a
2 changed files with 6 additions and 0 deletions
|
|
@ -1,3 +1,5 @@
|
|||
rootLevelChild 2
|
||||
rootLevelChild 1
|
||||
a 1
|
||||
argsAndProps 1 2 a=3
|
||||
b "string"
|
||||
|
|
|
|||
|
|
@ -42,6 +42,10 @@
|
|||
{ child = [ 2 ]; }
|
||||
{ child = [ 1 ]; }
|
||||
];
|
||||
_children = [
|
||||
{ rootLevelChild = [ 2 ]; }
|
||||
{ rootLevelChild = [ 1 ]; }
|
||||
];
|
||||
extraAttrs = {
|
||||
_args = [
|
||||
2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue