diff --git a/index.js b/index.js index df607cb..b086ea7 100644 --- a/index.js +++ b/index.js @@ -231,7 +231,7 @@ var replacementList = [ chars: "\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F", }, { base: 'n', - chars: "\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u043B\u0509", + chars: "\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5\u0509", }, { base: 'nj', chars: "\u01CC", diff --git a/test/test.js b/test/test.js index 637f31b..6fa3d37 100644 --- a/test/test.js +++ b/test/test.js @@ -1,9 +1,9 @@ var removeDiacritics = require('../').remove, assert = require('assert'); -assert.strictEqual(removeDiacritics("Iлtèrnåtïonɑlíƶatï߀ԉ"), +assert.strictEqual(removeDiacritics("Intèrnåtïonɑlíƶatï߀ԉ"), "Internationalizati0n"); -assert.strictEqual(removeDiacritics("Båcòл ípѕùm ðoɭ߀r ѕït aϻèt âùþê aԉᏧ߀üïlɭê ƃëéf culρá fïlèt ϻiǥnòn cuρiᏧatat ut êлim tòлɢùê."), +assert.strictEqual(removeDiacritics("Båcòn ípѕùm ðoɭ߀r ѕït aϻèt âùþê aԉᏧ߀üïlɭê ƃëéf culρá fïlèt ϻiǥnòn cuρiᏧatat ut ênim tònɢùê."), "Bacon ipѕum dhol0r ѕit aMet authe and0uille beef culpa filet Mignon cupidatat ut enim tonGue."); assert.strictEqual(removeDiacritics("ᴎᴑᴅᴇȷʂ"), "NoDEJs");