Tests for reference sigils: / the root, . this folder, .. the folder above
Tests / vet + fmt + tests (pull_request) Failing after 37s

This commit is contained in:
2026-09-02 18:24:58 +02:00
parent 1b1b93b35f
commit fcc58a74ab
7 changed files with 122 additions and 75 deletions
+1 -1
View File
@@ -44,7 +44,7 @@ func TestWithDataPathLayersOverShipped(t *testing.T) {
}
func TestUserDataMayReferenceShipped(t *testing.T) {
dir := writeData(t, map[string]string{"greeting": `"Hej {..sv_SE.person}!"`})
dir := writeData(t, map[string]string{"greeting": `"Hej {/sv_SE.person}!"`})
f, err := New(WithDataPath(dir), WithSeed(1))
if err != nil {
t.Fatalf("New = %v", err)