[libcalamares] Adjust tests for new Esperanto support

main
Adriaan de Groot 6 years ago
parent 83df41ef06
commit 5d6ccfe8fc

@ -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…
Cancel
Save