[agent/codex:gpt-5.4-mini] Read ~/spec/code/core/go/i18n/RFC.md fully. Find ONE feature... #58

Merged
Virgil merged 1 commit from agent/read---spec-code-core-go-i18n-rfc-md-ful into dev 2026-04-02 00:10:13 +00:00
2 changed files with 2 additions and 2 deletions

View file

@ -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,
)
}

View file

@ -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)
}
}