From b3fccc25362ef92c3e7abf0c28690f8219f3e98b Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Wed, 21 Sep 2016 03:46:27 +0200 Subject: [PATCH] test: enable cyrillic punycode test case The test from RFC 3492 contains a bug: the uppercase D in the input should be lowercased. Fix that and enable the test. Fixes: https://github.com/nodejs/node/issues/8691 PR-URL: https://github.com/nodejs/node/pull/8695 Reviewed-By: Colin Ihrig Reviewed-By: Gibson Fahnestock Reviewed-By: Ilkka Myller Reviewed-By: James M Snell --- test/parallel/test-punycode.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/parallel/test-punycode.js b/test/parallel/test-punycode.js index 42927549eae395..abd495e4a9957b 100644 --- a/test/parallel/test-punycode.js +++ b/test/parallel/test-punycode.js @@ -62,12 +62,10 @@ var tests = { '\uC744\uAE4C', // (I) Russian (Cyrillic) - /* XXX disabled, fails - possibly a bug in the RFC - 'b1abfaaepdrnnbgefbaDotcwatmq2g4l': + 'b1abfaaepdrnnbgefbadotcwatmq2g4l': '\u043F\u043E\u0447\u0435\u043C\u0443\u0436\u0435\u043E\u043D\u0438' + '\u043D\u0435\u0433\u043E\u0432\u043E\u0440\u044F\u0442\u043F\u043E' + '\u0440\u0443\u0441\u0441\u043A\u0438', - */ // (J) Spanish: PorqunopuedensimplementehablarenEspaol 'PorqunopuedensimplementehablarenEspaol-fmd56a':