Name the cover test after its walk

This commit is contained in:
2026-09-28 00:28:25 +02:00
committed by Lillem4n
parent 68033bd42f
commit e66a5f9b4b
+1 -1
View File
@@ -29,7 +29,7 @@ func TestPathCheckChoiceConsumesNoSegment(t *testing.T) {
}
}
func TestWalkCoverStopsAtAChoice(t *testing.T) {
func TestPathCoverStopsAtAChoice(t *testing.T) {
n := compiled(t, `[{"format":"{f}","f":"1"},{"format":"{f}","f":"2"}]`)
leaf, err := (&pathCover{into: map[node]bool{}}).walk(n, []string{"f"})
if err != nil || leaf != n {