summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-03-04 10:17:37 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2024-03-04 12:03:44 +0000
commit2f9c03da874ea44cbec418ba9187da93ad2ead22 (patch)
tree1eadd51f925380a4c0a72dc35bc2abdd24553978
parentaca11fd3d02134ca1f8384909a9f3179c0cb5c06 (diff)
Fix creation of locale in test_default_voice test
"en-UK" would be a (non-existent) Ukrainian regional version of English. After recent CLDR updates, this now fails, as it should, so fix it to use "en-GB" to compare with Bob's expected "Oxford English" dialect. Fixes: QTBUG-122950 Pick-to: 6.6 Change-Id: I5bc87d30b1f5f3f9804206c069be2ad5a7dc5d43 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io> (cherry picked from commit a5648c66a6844ba644bfc31d61d7281106f2433d) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tests/auto/qtexttospeech_qml/tst_voice.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qtexttospeech_qml/tst_voice.qml b/tests/auto/qtexttospeech_qml/tst_voice.qml
index bbd0c19..5e6c0de 100644
--- a/tests/auto/qtexttospeech_qml/tst_voice.qml
+++ b/tests/auto/qtexttospeech_qml/tst_voice.qml
@@ -23,6 +23,6 @@ TestCase {
compare(tts.voice.name, "Bob")
compare(tts.voice.age, Voice.Adult)
compare(tts.voice.gender, Voice.Male)
- compare(tts.voice.locale, Qt.locale("en-UK"))
+ compare(tts.voice.locale, Qt.locale("en-GB"))
}
}