From 3d8bbe8f877f9e6b2c9d1437cb77bd9a83bb5a64 Mon Sep 17 00:00:00 2001 From: "C. Scott Ananian" Date: Thu, 26 Jan 2023 14:26:58 -0500 Subject: [PATCH] Repair a broken parser test Before Ia72c960b2c7914342eb4d5e3e63f2d6af14719ad the parser test framework wasn't setting the user language correctly when a variant was requested, which meant that the UX text was being selected from the base language, not the user's preferred variant. Depends-On: I0c9c9fec920f7cb028d935e552a8f11475a23ba7 Change-Id: I7ab40a1d9adc6478c2fe99f44c8f51cbe4ac23a0 --- tests/parser/inputBoxParserTests.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/parser/inputBoxParserTests.txt b/tests/parser/inputBoxParserTests.txt index ffd1ce31..68548296 100644 --- a/tests/parser/inputBoxParserTests.txt +++ b/tests/parser/inputBoxParserTests.txt @@ -231,13 +231,10 @@ tour=test
!! end -# XXX This test is broken: note that the UX text is in sr-Cyrl but the -# variant requested was sr-Latn !! test InputBox langconvert !! options language=sr variant=sr-Latn -disabled !! wikitext type=create @@ -245,7 +242,7 @@ default=-{sr-Latn: Some latin; sr-Cyrl: Not latin }- placeholder=-{sr-Latn: Latn; sr-Cyrl: Cyrl}- !! html -

+

!! end !! test