better multi file variable support

This commit is contained in:
Martino Ferrari
2026-01-30 18:45:11 +01:00
parent f121f7c15d
commit d4075ff809
5 changed files with 96 additions and 14 deletions

View File

@@ -194,7 +194,7 @@ func TestIsolatedFileValidation(t *testing.T) {
t.Fatal("Reference SharedObj not found in index")
}
if ref.Target != nil {
t.Errorf("Expected reference in isolated file to be unresolved, but got target in %s", ref.Target.Fragments[0].File)
if ref.Target == nil {
t.Errorf("Expected reference in root file (iso.marte) to resolve to global SharedObj")
}
}