test: pin the playlist test locale so sorting does not depend on LANG

This commit is contained in:
tri committed 2026-11-14 00:11:05 +07:00
1 parent 039becdcb4
commit eb1742d4fc
1 file changed
+6
+6
View File
@@ -33,6 +33,12 @@ private:
}
private Q_SLOTS:
void initTestCase()
{
// The C locale's collation is case-sensitive, so the sort order would depend on $LANG.
QLocale::setDefault(QLocale(QLocale::English, QLocale::UnitedStates));
}
void sortsEpisodesNaturallyAndSkipsOtherFiles()
{
QTemporaryDir dir;