Fixed isolated file indexing

This commit is contained in:
Martino Ferrari
2026-02-02 14:26:19 +01:00
parent d4075ff809
commit ff19fef779
6 changed files with 66 additions and 9 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 root file (iso.marte) to resolve to global SharedObj")
if ref.Target != nil {
t.Errorf("Isolation failure: reference in isolated file resolved to global object")
}
}