- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestErrorContextWithTreeCopy (0.24 sec)
-
src/text/template/parse/parse_test.go
continue } if empty := IsEmptyTree(tree.Root); empty != test.empty { t.Errorf("%q: expected %t got %t", test.name, test.empty, empty) } } } func TestErrorContextWithTreeCopy(t *testing.T) { tree, err := New("root").Parse("{{if true}}{{end}}", "", "", make(map[string]*Tree), nil) if err != nil { t.Fatalf("unexpected tree parse failure: %v", err) } treeCopy := tree.Copy()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 24K bytes - Viewed (0)