diff --git a/test/index.js b/test/index.js index edaf338..e61b014 100644 --- a/test/index.js +++ b/test/index.js @@ -15,14 +15,14 @@ test('math', async function (t) { }) await t.test( - 'should skip `mathFlow` and `mathText` construct if `disable.null` includes `mathFlow` and `mathText`', + 'should skip `mathFlow` and `mathText` construct if `disable.null` includes `mathFlow` and `mathText`', async function () { assert.equal( - micromark('$a$, $$b$$, $$$c$$$', { + micromark('$a$, $$b$$\n\n$$\nc\n$$', { extensions: [math(), {disable: {null: ['mathFlow', 'mathText']}}], htmlExtensions: [mathHtml()] }), - '
$a$, $$b$$, $$$c$$$
' + '$a$, $$b$$
\n$$\nc\n$$
' ) } )