diff options
| author | Paul Buetow <paul@buetow.org> | 2026-04-20 00:02:07 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-04-20 00:02:07 +0300 |
| commit | a35ca6f40de73e93372ade6f2d74c231389799e2 (patch) | |
| tree | faf7a53d476cbd6d01b694443e8e601cec9257db /internal/config/config_test.go | |
| parent | 6130cae3fa396cff94653225e47326b642e270f3 (diff) | |
Fix task 25: keep comic generation single-language and single-style
Diffstat (limited to 'internal/config/config_test.go')
| -rw-r--r-- | internal/config/config_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/internal/config/config_test.go b/internal/config/config_test.go index ae2127a..74fa944 100644 --- a/internal/config/config_test.go +++ b/internal/config/config_test.go @@ -88,7 +88,7 @@ func TestRenderPromptFallsBackToEmbeddedTemplate(t *testing.T) { got, err := cfg.RenderPrompt("story_prompt.md", map[string]any{ "Language": "Bulgarian", "Genre": "a mystery with a surprising twist", - "Words": "1. ябълка (apple)\n2. книга (book)\n", + "Words": "- ябълка\n- книга\n", }) if err != nil { t.Fatalf("RenderPrompt() error = %v", err) @@ -145,9 +145,9 @@ func TestEmbeddedPromptTemplatesRender(t *testing.T) { "Script": "Cyrillic", "Genre": "a mystery with a surprising twist", "Style": "cinematic realism", - "Words": "1. ябълка (apple)\n2. книга (book)\n", - "Bible": "Mira: young adult, brown hair, blue eyes, red coat.\n", - "Subtitle": "Sample Subtitle", + "Words": "- ябълка\n- книга\n", + "Bible": "Мира: млада жена, кафява коса, сини очи, червено палто.\n", + "Subtitle": "КомиксФордж Приключения", "StoryText": "A short story teaser.", "RenderingRequirement": "ULTRA-REALISTIC RENDERING", "RenderingRequirementEnd": "FINAL LOCK — PHOTOREALISM", @@ -157,8 +157,8 @@ func TestEmbeddedPromptTemplatesRender(t *testing.T) { "PageNum": 1, "TotalPages": 5, "PanelLayout": "MANDATORY PANEL LAYOUT — divide the image into exactly 4 panels in a 2×2 grid.\n", - "BlurbBox": "a rectangular text box with a short blurb", - "SeriesTitle": "ComicForge Adventures", + "BlurbBox": "правоъгълно текстово поле с кратък текст", + "SeriesTitle": "КомиксФордж Приключения", "Pose": "extreme close-up portrait", } |
