diff --git a/test/general/testInputs.js b/test/general/testInputs.js index 6bcb9e1d2..b50ba61c9 100644 --- a/test/general/testInputs.js +++ b/test/general/testInputs.js @@ -9,7 +9,7 @@ function createSomeMessage(){ for (let i = 0; i < 10; i++) { arr.push(0x1F600 + Math.floor(Math.random() * (0x1F64F - 0x1F600)) + 1); } - return '  \t' + String.fromCodePoint(...arr).replace(/\r/g, '\n') + '  \t\n한국어/조선말'; + return '  \t' + String.fromCodePoint(...arr).replace(/[\r\u2028\u2029]/g, '\n') + '  \t\n한국어/조선말'; } module.exports = {