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:
+1
-1
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user