mirror of
https://github.com/parchlinux/calamares.git
synced 2025-02-24 19:05:46 -05:00
[libcalamares] Adjust tests for new Esperanto support
This commit is contained in:
parent
83df41ef06
commit
5d6ccfe8fc
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue