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
2 changed files with 3 additions and 2 deletions
Showing only changes of commit c8193da3d0 - Show all commits
+2 -2
View File
@@ -495,8 +495,8 @@ func TestRunTemplateMisuse(t *testing.T) {
"42": "number",
"42\n": "number",
"true\n": "boolean",
"null\n": `write ""`,
" null ": `write ""`,
"null\n": "jq",
" null ": "jq",
"{//sv_SE.person}": "write {/sv_SE.person}",
} {
code, out, errb := runOut(stdin, "--seed", "1")
+1
View File
@@ -36,6 +36,7 @@ func TestAWeightWithNothingToDrawAgainstIsRejected(t *testing.T) {
`{"format":"a","weight":2}`,
`{"format":"{x}","x":{"format":"a","weight":2}}`,
`[{"format":"a","weight":2}]`,
`{"format":"a","weight":0}`,
} {
_, err := resolved(t, src)
if err == nil || !strings.Contains(err.Error(), `drop "weight"`) || strings.Contains(err.Error(), "can never be a field") || strings.Contains(err.Error(), "only skews a choice's items") {