summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2024-03-04 10:17:37 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2024-03-04 11:07:49 +0000
commita5648c66a6844ba644bfc31d61d7281106f2433d (patch)
treef67f2841bb5034453dbfbe3c9361241f33f8b76a /tests/auto
parentcecf266022af26a8a60baaa2cf594f35e15b793f (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.7 6.6 Change-Id: I5bc87d30b1f5f3f9804206c069be2ad5a7dc5d43 Reviewed-by: Axel Spoerl <axel.spoerl@qt.io>
Diffstat (limited to 'tests/auto')
-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"))
}
}