Test that a manifest's namespace mounts its source under a dot path, that each shipped module loads from data/<lowered namespace>, and that a load failure's note reaches Fake, FakeTemplate and FakeStruct once

This commit is contained in:
2026-10-11 12:15:41 +02:00
committed by Lillem4n
parent 165b67e843
commit 29a76d5d9a
11 changed files with 165 additions and 58 deletions
+1 -1
View File
@@ -206,7 +206,7 @@ func TestNewErrorPathIsCanonical(t *testing.T) {
{
"bad reference reached through another reference",
map[string]string{"a": `"{/b}"`, "b": `"{/nope}"`},
`fejkdata: b: reference {/nope}: no entry "nope", and no loaded module names a module it reads by default`,
`fejkdata: b: reference {/nope}: no entry "nope", and no loaded manifest names a module to add`,
},
}
for _, c := range cases {