From 59159d4f5dec205f6c8c94b8ed8168ab0bd118fe Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Fri, 4 Sep 2026 08:51:00 +0200 Subject: [PATCH] Tests: the record fence reads correctly for an inline record too --- record_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/record_test.go b/record_test.go index ab38a2a..e8226f4 100644 --- a/record_test.go +++ b/record_test.go @@ -269,7 +269,7 @@ func TestInlineRecordErrors(t *testing.T) { want string }{ {`"hello"`, "has no fields, so no columns"}, - {`["a","b"]`, "names a choice, not a template"}, + {`["a","b"]`, "a record is a template whose fields are its columns"}, {`{"format":"{a}-","repeat":3,"separator":"|","a":["x","y"]}`, "carries repeat 3"}, } { if _, err := f.FakeRecord(c.input); err == nil || !strings.Contains(err.Error(), c.want) {