[libcalamares] Adjust tests for new Esperanto support
This commit is contained in:
parent
83df41ef06
commit
5d6ccfe8fc
@ -78,6 +78,9 @@ LocaleTests::testEsperanto()
|
|||||||
QVERIFY( locale.language() == QLocale::Lithuanian ? locale.country() == QLocale::Lithuania : true );
|
QVERIFY( locale.language() == QLocale::Lithuanian ? locale.country() == QLocale::Lithuania : true );
|
||||||
QVERIFY( locale.language() != QLocale::C );
|
QVERIFY( locale.language() != QLocale::C );
|
||||||
}
|
}
|
||||||
|
#if QT_VERSION < QT_VERSION_CHECK( 5, 12, 2 )
|
||||||
QCOMPARE( QLocale( "eo" ).language(), QLocale::C );
|
QCOMPARE( QLocale( "eo" ).language(), QLocale::C );
|
||||||
|
#else
|
||||||
|
QCOMPARE( QLocale( "eo" ).language(), QLocale::Esperanto );
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user