func-section #1

Merged
sashakoshka merged 52 commits from func-section into main 2022-09-03 18:09:14 -06:00
Showing only changes of commit aec266a82e - Show all commits

View File

@ -7,6 +7,12 @@ import "testing"
func checkTree (modulePath string, correct string, test *testing.T) {
tree, err := Parse(modulePath)
if tree == nil {
test.Log("TREE IS NIL!")
test.Fail()
return
}
treeString := tree.ToString(0)
treeRunes := []rune(treeString)