Adjust the fixtures the table fence refuses, and pair README table examples with their TSV and parent

This commit is contained in:
2026-09-17 12:28:49 +02:00
parent f6b54c8ae6
commit 51b9385aee
3 changed files with 28 additions and 11 deletions
+2 -2
View File
@@ -387,11 +387,11 @@ func TestRunInlineTemplate(t *testing.T) {
func TestRunTemplateMisuse(t *testing.T) {
for arg, want := range map[string]string{
"{bad": "unterminated",
"[red,green]": "names no template either",
"[red,green]": `starts with "["`,
`{"format":"x"}`: "is a string",
"name: {/no.such.path}": "no entry",
"{/sv_SE.person}": "write sv_SE.person",
"x[1]": "names no template either",
"x[1]y": `"]"`,
` ["a","b"] `: "may not be padded",
} {
code, out, errb := runOut("--seed", "1", arg)