From eb006ab5467d69dd12010033459e463068b2e1cb Mon Sep 17 00:00:00 2001 From: Virgil Date: Thu, 2 Apr 2026 00:09:59 +0000 Subject: [PATCH] feat(validate): expand french article prompt Co-Authored-By: Virgil --- validate.go | 2 +- validate_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/validate.go b/validate.go index ff5aa9e..32f27b7 100644 --- a/validate.go +++ b/validate.go @@ -51,7 +51,7 @@ func articlePromptForLang(lang, noun string) string { noun = core.Trim(noun) if isFrenchLanguage(lang) { return core.Sprintf( - "Complete with the correct article (le/la/l'/les/un/une/des): ___ %s. Answer with just the article:", + "Complete with the correct article (le/la/l'/les/du/au/aux/un/une/des): ___ %s. Answer with just the article:", noun, ) } diff --git a/validate_test.go b/validate_test.go index 856b3dd..78fb422 100644 --- a/validate_test.go +++ b/validate_test.go @@ -346,7 +346,7 @@ func TestArticlePromptFrenchLocale(t *testing.T) { if !contains(prompt, "livre") { t.Errorf("prompt should contain the noun: %q", prompt) } - if !contains(prompt, "le/la/l'/les/un/une/des") { + if !contains(prompt, "le/la/l'/les/du/au/aux/un/une/des") { t.Errorf("prompt should mention French article options: %q", prompt) } }