From 8f713575e9c39ce4649f45aed6ca0e05b8094a2a Mon Sep 17 00:00:00 2001 From: Frank Yung-Fong Tang <41213225+FrankYFTang@users.noreply.github.com> Date: Thu, 7 Feb 2019 15:46:11 -0800 Subject: [PATCH] Move testing of getCanonicalLocales out of Locale Remove all the assertion of result of getCanonicalLocales from Locale directory and put them under Intl/getCanonicalLocales directory. --- test/intl402/Locale/constructor-non-iana-canon.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/test/intl402/Locale/constructor-non-iana-canon.js b/test/intl402/Locale/constructor-non-iana-canon.js index ded2af1c89..fe1a79c375 100644 --- a/test/intl402/Locale/constructor-non-iana-canon.js +++ b/test/intl402/Locale/constructor-non-iana-canon.js @@ -75,12 +75,6 @@ var testData = [ ]; for (const {tag, canonical = tag, maximized = canonical, minimized = canonical} of testData) { - assert.sameValue( - Intl.getCanonicalLocales(tag)[0], - canonical, - 'The value of Intl.getCanonicalLocales(tag)[0] equals the value of `canonical`' - ); - const loc = new Intl.Locale(tag); assert.sameValue( new Intl.Locale(tag).toString(),