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 faa4bba898 - Show all commits
+2 -2
View File
@@ -776,8 +776,8 @@ func TestCompileFixesHowEachArmIsRead(t *testing.T) {
want := map[string]armKind{"/other.y": refPathRead, "n": heldRead, "p.x": heldRead, "w": freshRead} want := map[string]armKind{"/other.y": refPathRead, "n": heldRead, "p.x": heldRead, "w": freshRead}
for _, o := range tm.compiled.ops { for _, o := range tm.compiled.ops {
for _, a := range append(o.arms, o.operands...) { for _, a := range append(o.arms, o.operands...) {
if a.kind != want[a.spelling] { if k, ok := want[a.spelling]; !ok || a.kind != k {
t.Errorf("{%s} compiles to kind %d, want %d", a.spelling, a.kind, want[a.spelling]) t.Errorf("{%s} compiles to kind %d, want %d", a.spelling, a.kind, k)
} }
} }
} }