Compose runtime glossary files with native configuration

This commit is contained in:
2026-11-26 18:17:16 +00:00
parent b1cde637a2
commit a4b8fd0976
26 changed files with 292 additions and 92 deletions

View File

@@ -26,7 +26,7 @@ func TestLoadCombinesApplicationAndPromptSettings(t *testing.T) {
t.Fatal(err)
}
}
result, _, err := Load(context.Background(), ck.Input{Source: ck.File(filepath.Join(dir, "config.yml"))}, "selected")
result, _, err := Load(context.Background(), ck.Input{Source: ck.File(filepath.Join(dir, "config.yml"))}, Options{Overlay: "selected"})
if err != nil {
t.Fatal(err)
}
@@ -62,7 +62,7 @@ func TestLoadWithoutMainDoesNotDiscoverCompanions(t *testing.T) {
t.Fatal(err)
}
t.Chdir(dir)
result, _, err := Load(context.Background(), ck.Input{Source: ck.NoSource()}, "")
result, _, err := Load(context.Background(), ck.Input{Source: ck.NoSource()}, Options{})
if err != nil {
t.Fatal(err)
}