Make great documentation goal 1.2, and plan the README's reorganisation and the nested-template gaps #33

Open
lilleman wants to merge 966 commits from worktree-todo-relative-dates-exact-counts into main
Showing only changes of commit 15b94b2718 - Show all commits
+2 -2
View File
@@ -92,9 +92,9 @@ func TestEveryFormatCompilesAtLink(t *testing.T) {
} }
compiledByPath := func() map[string]bool { compiledByPath := func() map[string]bool {
compiled := map[string]bool{} compiled := map[string]bool{}
if err := eachNode(n, "t", func(path string, m node) error { if err := eachNode(n, "t", func(label string, m node) error {
if tm, ok := m.(*template); ok { if tm, ok := m.(*template); ok {
compiled[path+" "+tm.format] = tm.compiled.ops != nil compiled[label+" "+tm.format] = tm.compiled.ops != nil
} }
return nil return nil
}); err != nil { }); err != nil {