Test that a load failing on a read nothing provides names every module the loaded manifests read

This commit is contained in:
2026-10-11 11:49:18 +02:00
committed by Lillem4n
parent 7f7d260f83
commit 6e2555aee6
5 changed files with 27 additions and 59 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 the module holding b names no module it reads by default`,
`fejkdata: b: reference {/nope}: no entry "nope", and no loaded module names a module it reads by default`,
},
}
for _, c := range cases {