This commit is contained in:
Alexander Wang 2024-03-25 20:52:47 -05:00
parent 60475cd039
commit 06e335799e
No known key found for this signature in database
GPG key ID: BE3937D0D52D8927

View file

@ -2454,6 +2454,29 @@ a -> b
exp: `(* -> *)[*].style.stroke: red
a -> b: {style.stroke: green}
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
`,
},
}