[libcalamares] Adjust tests for new Esperanto support

This commit is contained in:
Adriaan de Groot 2019-08-05 18:30:50 +02:00
parent 83df41ef06
commit 5d6ccfe8fc

View file

@ -78,6 +78,9 @@ LocaleTests::testEsperanto()
QVERIFY( locale.language() == QLocale::Lithuanian ? locale.country() == QLocale::Lithuania : true );
QVERIFY( locale.language() != QLocale::C );
}
#if QT_VERSION < QT_VERSION_CHECK( 5, 12, 2 )
QCOMPARE( QLocale( "eo" ).language(), QLocale::C );
#else
QCOMPARE( QLocale( "eo" ).language(), QLocale::Esperanto );
#endif
}