diff --git a/tests/lib/html-text-helper-test.js b/tests/lib/html-text-helper-test.js index a476c0dd..8036e3bf 100644 --- a/tests/lib/html-text-helper-test.js +++ b/tests/lib/html-text-helper-test.js @@ -12,7 +12,8 @@ test('htmlTextHelper#decodeEntities should return encoded text (string)', t => { ['var test = 'test'', 'var test = \'test\''], ['<a href='https://boostnote.io'>Boostnote', 'Boostnote'], ['<\\\\?php\n var = 'hoge';', '<\\\\?php\n var = \'hoge\';'], - ['&', '&'] + ['&', '&'], + ['a$'', 'a\\$\''] ] testCases.forEach(testCase => { @@ -27,7 +28,8 @@ test('htmlTextHelper#decodeEntities() should return decoded text (string)', t => ['Boostnote', '<a href='https://boostnote.io'>Boostnote'], - [' {