Publish inspection through one frozen history model
This commit is contained in:
@@ -41,7 +41,6 @@ func TestHistorySourceObservationsPreserveRawAndCompositeDefinitions(t *testing.
|
||||
builder.observeBaseline(baseline)
|
||||
builder.observeSourceEvidence(assembly.current.root, assembly.current.origins, assembly.current.applications, assembly.current.overlays)
|
||||
builder.model.final = assembly.current.root
|
||||
builder.registerDocumentRoot(assembly.current.root)
|
||||
model := builder.freeze()
|
||||
|
||||
defaultPath := Keys("defaults", "nullable")
|
||||
@@ -99,8 +98,7 @@ func TestHistorySourceObservationsPreserveRawAndCompositeDefinitions(t *testing.
|
||||
}
|
||||
}
|
||||
inspection := &Inspection{
|
||||
metadata: metadata, baseline: baseline, final: assembly.current.root,
|
||||
immutableLookup: buildDocumentLookup(assembly.current.root),
|
||||
metadata: metadata, history: model, final: assembly.current.root,
|
||||
}
|
||||
explanation, explained := inspection.Explain(Keys("section", "empty"))
|
||||
var contributionSources []string
|
||||
|
||||
Reference in New Issue
Block a user