Verify shared glossary selection across CLI workflows

This commit is contained in:
2026-11-29 18:14:11 +00:00
parent 994cba3ba2
commit 04546acee0
8 changed files with 92 additions and 24 deletions

View File

@@ -251,7 +251,7 @@ func TestRuntimeGlossaryExampleWorkflow(t *testing.T) {
args = append([]string{"process"}, common...)
args = append(args, "--output", filepath.Join(dir, "output.json"), filepath.Join(dir, "transcript.json"))
result = app.Execute(context.Background(), args, commandkit.Streams{Out: &out, Err: &stderr})
if result.Status != 0 || !strings.Contains(seen, "Mira Chen") || !strings.Contains(seen, "North Observatory") || !strings.Contains(seen, "speaker's preferred spelling") || !strings.Contains(seen, "Preserve established place names") {
if result.Status != 0 || !strings.Contains(seen, "Mira Chen") || !strings.Contains(seen, "North Observatory") || !strings.Contains(seen, "Preserve established place names") {
t.Fatalf("processing %d seen=%s stderr=%s", result.Status, seen, stderr.String())
}
if _, err := os.Stat(filepath.Join(dir, "output.json")); err != nil {