Exercise document-root controls through the public API
This commit is contained in:
@@ -12,7 +12,7 @@ import (
|
||||
|
||||
func TestFacadeCompositionConflictKeepsClaimantOrder(t *testing.T) {
|
||||
filesystem := configkit.NewFilesystem("bundle", fstest.MapFS{
|
||||
"a.yml": &fstest.MapFile{Data: []byte(`configkit:
|
||||
"a.yml": &fstest.MapFile{Data: []byte(`config:
|
||||
imports:
|
||||
- path: z.yml
|
||||
`)},
|
||||
@@ -21,7 +21,7 @@ func TestFacadeCompositionConflictKeepsClaimantOrder(t *testing.T) {
|
||||
"z.yml": &fstest.MapFile{Data: []byte("x: z\n")},
|
||||
})
|
||||
main := configkit.Mapping("main", map[string]any{
|
||||
"configkit": map[string]any{"imports": []any{
|
||||
"config": map[string]any{"imports": []any{
|
||||
map[string]any{"path": "a.yml"},
|
||||
map[string]any{"path": "b.yml"},
|
||||
map[string]any{"path": "c.yml"},
|
||||
|
||||
Reference in New Issue
Block a user