Migrate structural and inspection fixtures

This commit is contained in:
2026-11-02 00:42:41 +00:00
parent 54bdc24865
commit eb87a10e1c
23 changed files with 140 additions and 81 deletions

View File

@@ -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