add test
This commit is contained in:
parent
f15f0e9ab9
commit
abc03ae616
1 changed files with 32 additions and 0 deletions
|
|
@ -2518,6 +2518,38 @@ x -> a.b -> a.b.c
|
||||||
# hi
|
# hi
|
||||||
style.stroke: green
|
style.stroke: green
|
||||||
}
|
}
|
||||||
|
`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "scenario-grandchild",
|
||||||
|
|
||||||
|
text: `a -> b
|
||||||
|
|
||||||
|
scenarios: {
|
||||||
|
x: {
|
||||||
|
scenarios: {
|
||||||
|
c: {
|
||||||
|
(a -> b)[0].style.bold: true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`,
|
||||||
|
key: `(a -> b)[0].style.stroke-width`,
|
||||||
|
value: go2.Pointer(`3`),
|
||||||
|
boardPath: []string{"x", "c"},
|
||||||
|
exp: `a -> b
|
||||||
|
|
||||||
|
scenarios: {
|
||||||
|
x: {
|
||||||
|
scenarios: {
|
||||||
|
c: {
|
||||||
|
(a -> b)[0].style.bold: true
|
||||||
|
(a -> b)[0].style.stroke-width: 3
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue