MCPcopy Create free account
hub / github.com/foxcpp/maddy / printTree

Function printTree

framework/cfgparser/parse_test.go:576–581  ·  view source on GitHub ↗
(t *testing.T, root Node, indent int)

Source from the content-addressed store, hash-verified

574}
575
576func printTree(t *testing.T, root Node, indent int) {
577 t.Log(strings.Repeat(" ", indent)+root.Name, root.Args)
578 for _, child := range root.Children {
579 t.Log(child, indent+1)
580 }
581}
582
583func TestRead(t *testing.T) {
584 require.NoError(t, os.Setenv("TESTING_VARIABLE", "ABCDEF"))

Callers 1

TestReadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected