Move surveyRender and surveyColumns, used only by tests, into readsurvey_test.go

This commit is contained in:
2026-09-29 21:17:26 +02:00
committed by Lillem4n
parent 78b08b699f
commit b7bbf40366
2 changed files with 10 additions and 10 deletions
+10
View File
@@ -168,3 +168,13 @@ func TestReadSurveyReportsAPinClashAsAnError(t *testing.T) {
t.Errorf("check = %v, want the clash below {f} named by the route the root reaches it by", err)
}
}
func surveyRender(t *template) *readSurvey {
f := newReadFold()
return survey(f.rootReads(t), t.link.drawGroupKey)
}
func surveyColumns(t *template, columns []string) *readSurvey {
f := newReadFold()
return survey(f.columnReads(t, columns), t.link.drawGroupKey)
}