From 92337a14a9822198f4f9e7dc9bb79fce6a2dd4b2 Mon Sep 17 00:00:00 2001 From: akamefi202 Date: Thu, 30 Nov 2023 16:06:13 -0500 Subject: [PATCH] add test containing both code and block --- __tests__/ExpensiMark-HTML-test.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/__tests__/ExpensiMark-HTML-test.js b/__tests__/ExpensiMark-HTML-test.js index 7a4649cd..9aa9c2dd 100644 --- a/__tests__/ExpensiMark-HTML-test.js +++ b/__tests__/ExpensiMark-HTML-test.js @@ -1555,4 +1555,7 @@ test('Mention', () => { test('Test code fence within inline code', () => { let testString = '`(```test```)`'; expect(parser.replace(testString)).toBe('`(
test
)`'); + + testString = '`test`space```block```'; + expect(parser.replace(testString)).toBe('testspace
block
'); });