add test
This commit is contained in:
parent
60475cd039
commit
06e335799e
1 changed files with 23 additions and 0 deletions
|
|
@ -2454,6 +2454,29 @@ a -> b
|
||||||
exp: `(* -> *)[*].style.stroke: red
|
exp: `(* -> *)[*].style.stroke: red
|
||||||
a -> b: {style.stroke: green}
|
a -> b: {style.stroke: green}
|
||||||
a -> b
|
a -> b
|
||||||
|
`,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "nested-edge-chained",
|
||||||
|
|
||||||
|
text: `a: {
|
||||||
|
b: {
|
||||||
|
c
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
x -> a.b -> a.b.c
|
||||||
|
`,
|
||||||
|
key: `(a.b -> a.b.c)[0].style.stroke`,
|
||||||
|
value: go2.Pointer(`green`),
|
||||||
|
exp: `a: {
|
||||||
|
b: {
|
||||||
|
c
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
x -> a.b -> a.b.c
|
||||||
|
(a.b -> a.b.c)[0].style.stroke: green
|
||||||
`,
|
`,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue