aboutsummaryrefslogtreecommitdiff
path: root/__tests__
diff options
context:
space:
mode:
authorache <ache@ache.one>2019-09-18 02:03:54 +0200
committerache <ache@ache.one>2019-09-18 02:03:54 +0200
commit0dadc79c639439f2d517ab3ad2cbf44dc62f21ff (patch)
tree5f0f53877c89e5c33e568d89da06499f474aae66 /__tests__
parentUpdate dependency (diff)
Update tests to the new behaviour
Related to trailing blank lines at the end of fenced blocks. I spaced a little the code too.
Diffstat (limited to '__tests__')
-rw-r--r--__tests__/index.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/__tests__/index.js b/__tests__/index.js
index cea2eea..f6d265e 100644
--- a/__tests__/index.js
+++ b/__tests__/index.js
@@ -154,6 +154,7 @@ This is an awesome code
`;
const {contents} = render(fencedCodeString);
t.deepEqual(parse(contents), parse(`<pre><code class="language-lang" info="string">This is an awesome code
+
</code></pre>`));
});
@@ -165,6 +166,7 @@ This is an awesome code
`;
const {contents} = render(fencedCodeString);
t.deepEqual(parse(contents), parse(`<pre><code class="language-lang" info="string">This is an awesome code
+
</code></pre>`));
});
@@ -176,6 +178,7 @@ This is an awesome code
`;
const {contents} = render(fencedCodeString);
t.deepEqual(parse(contents), parse(`<pre><code class="language-lang" info="string">This is an awesome code
+
</code></pre>`));
});