Test a relative reference's selector spelling in the selection fence's rewrite

This commit is contained in:
2026-09-29 11:39:14 +02:00
committed by Lillem4n
parent bad15a5bdb
commit df4d4001f7
+1
View File
@@ -370,6 +370,7 @@ func TestTableSelectionFences(t *testing.T) {
"bare beside a path": {`"{/region} {/region.name}"`, "reads a path into"},
"bare beside a linked path": {`"{/region} {/locality.name}"`, "drawGroup"},
"selected beside unselected": {`"{/region[12].municipality.name} {/municipality.code}"`, "{/region[12].municipality.code}"},
"relative selected beside unselected": {`"{.region[12].municipality.name} {.municipality.code}"`, "{.region[12].municipality.code}"},
"two selections": {`"{/region[12].name} {/region[14].name}"`, "drawGroup"},
"selection beside a descendant": {`"{/region[12].name} {/locality.code}"`, "{/region[12].locality.code}"},
}