From 76277ed61a24a50a0c868f16395647d04ed39b23 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 9 Oct 2026 11:18:51 +0200 Subject: [PATCH] Test the selector hint's new wording, read the row without the name --- name_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/name_test.go b/name_test.go index fb49c89..c624439 100644 --- a/name_test.go +++ b/name_test.go @@ -238,7 +238,7 @@ func TestNameErrors(t *testing.T) { {"padded", map[string]string{"word": `["a","b"]`, "card": `"{/word as w}{w}"`}, `write {/word as w}`}, {"selector after a name", map[string]string{"region.json": nameTables()["region.json"], "region.tsv": nameTables()["region.tsv"], "municipality.json": nameTables()["municipality.json"], "municipality.tsv": nameTables()["municipality.tsv"], "card": `"{/region as r}{r.name} {r.municipality[0180].name}"`}, - `read it directly, {/region.municipality[0180].name}`}, + `read the row without the name, {/region.municipality[0180].name}`}, {"in a table's format", map[string]string{"word": `["a","b"]`, "t.json": `{"format":"{/word as w}{w}","rows":"t.tsv","key":"k"}`, "t.tsv": "k\nx\ny\n"}, "a table binds no name"}, {"in a field's name", map[string]string{"card": `{"format":"{a as b}","a as b":"x"}`},