diff options
author | André Bargull <andre.bargull@gmail.com> | 2017-12-21 12:08:11 -0800 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2017-12-21 16:46:55 -0500 |
commit | 017fa6d55ff27fa108d622b1f00e5b07ac479e15 (patch) | |
tree | c78e4d06ac6d2a110b3b1786bd4d0b7a814f570e /test/intl402 | |
parent | 123259733b25badb7c19f37e35ce472eb5e20e16 (diff) | |
download | qtdeclarative-testsuites-017fa6d55ff27fa108d622b1f00e5b07ac479e15.tar.gz |
Remove caching of getLocaleSupportInfo() return value
Diffstat (limited to 'test/intl402')
-rw-r--r-- | test/intl402/9.2.6_4_b.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/intl402/9.2.6_4_b.js b/test/intl402/9.2.6_4_b.js index d94bf4d1f..9d1efb460 100644 --- a/test/intl402/9.2.6_4_b.js +++ b/test/intl402/9.2.6_4_b.js @@ -11,9 +11,10 @@ includes: [testIntl.js] ---*/ testWithIntlConstructors(function (Constructor) { + var info = getLocaleSupportInfo(Constructor); + // this test should work equally for both matching algorithms ["lookup", "best fit"].forEach(function (matcher) { - var info = getLocaleSupportInfo(Constructor); var allLocales = info.supported.concat(info.byFallback, info.unsupported); allLocales.forEach(function (locale) { var validExtension = "-u-co-phonebk-nu-latn"; |