Verify shared glossary selection across CLI workflows
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user