Use main for the main provenance layer
This commit is contained in:
@@ -165,7 +165,7 @@ func TestInheritanceHistoryFollowsFinalParentAfterSourceOverlay(t *testing.T) {
|
||||
t.Fatalf("overlaid parent contribution = %#v, %v", explanation, found)
|
||||
}
|
||||
parentHistory := inspection.Metadata().History(Keys("parent", "value"))
|
||||
if len(parentHistory) < 2 || parentHistory[0].Origin.Layer != LayerBase ||
|
||||
if len(parentHistory) < 2 || parentHistory[0].Origin.Layer != LayerMain ||
|
||||
parentHistory[len(parentHistory)-1].Origin.Layer != LayerOverlay {
|
||||
t.Fatalf("parent source history = %#v", parentHistory)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user