aboutsummaryrefslogtreecommitdiff
path: root/__tests__/index.js
diff options
context:
space:
mode:
Diffstat (limited to '__tests__/index.js')
-rw-r--r--__tests__/index.js26
1 files changed, 1 insertions, 25 deletions
diff --git a/__tests__/index.js b/__tests__/index.js
index f96acd4..a8f4df8 100644
--- a/__tests__/index.js
+++ b/__tests__/index.js
@@ -159,7 +159,7 @@ This is an awesome code
});
test('fenced code brackets', t => {
- const fencedCodeString = `~~~lang{info=string}
+ const fencedCodeString = `~~~lang {info=string}
This is an awesome code
~~~
@@ -180,27 +180,3 @@ This is an awesome code
</code></pre>`));
});
-test('fenced code fallback', t => {
- const fallbackFCstring = `~~~lang
-This is an awesome code
-
-~~~
-{info=string}
-`;
- const {contents} = render(fallbackFCstring);
- t.deepEqual(parse(contents), parse(`<pre><code class="language-lang" info="string">This is an awesome code
-</code></pre>`));
-});
-
-test('fenced code mix', t => {
- const fallbackFCstring = `~~~lang{info=strong}
-This is an awesome code
-
-~~~
-{info=string}
-`;
- const {contents} = render(fallbackFCstring);
- t.deepEqual(parse(contents), parse(`<pre><code class="language-lang" info="string">This is an awesome code
-</code></pre>`));
-});
-