Migrate structural and inspection fixtures
This commit is contained in:
@@ -76,7 +76,7 @@ func TestInheritanceReplacementResetsOnlyReplacedYamlIdentity(t *testing.T) {
|
||||
|
||||
func TestLoadInheritanceReplacementUsesNewYamlKey(t *testing.T) {
|
||||
t.Parallel()
|
||||
loaded, err := testLoad[map[string]any](Bytes("replacement", []byte(`configkit:
|
||||
loaded, err := testLoad[map[string]any](Bytes("replacement", []byte(`config:
|
||||
sequences:
|
||||
- {destination: [base, items], key: id}
|
||||
- {destination: [child, items], key: name, mode: replace}
|
||||
@@ -150,7 +150,7 @@ child:
|
||||
}
|
||||
|
||||
func TestLoadAppliesYamlCollectionIdentityDuringSiblingInheritance(t *testing.T) {
|
||||
input := `configkit:
|
||||
input := `config:
|
||||
sequences:
|
||||
- destination: [base, items]
|
||||
key: id
|
||||
|
||||
Reference in New Issue
Block a user