aboutsummaryrefslogtreecommitdiffstats
path: root/tests/definition.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-21 17:48:26 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-21 17:48:26 +0200
commit37fad739ba73d488d4c3652caee01f1ec5d0aaaa (patch)
tree04ffc3e16799d5706276ecf57992126a073bedeb /tests/definition.rs
parent1d48e14b70f59bbb3daa5d8dcce176500400965b (diff)
downloadmarkdown-rs-37fad739ba73d488d4c3652caee01f1ec5d0aaaa.tar.gz
markdown-rs-37fad739ba73d488d4c3652caee01f1ec5d0aaaa.tar.bz2
markdown-rs-37fad739ba73d488d4c3652caee01f1ec5d0aaaa.zip
Refactor performance around links in subtokenize
Diffstat (limited to '')
-rw-r--r--tests/definition.rs8
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/definition.rs b/tests/definition.rs
index 620ab69..27c1fed 100644
--- a/tests/definition.rs
+++ b/tests/definition.rs
@@ -219,7 +219,13 @@ fn definition() {
assert_eq!(
micromark("> [foo]: /url\n\n[foo]"),
"<blockquote>\n</blockquote>\n<p><a href=\"/url\">foo</a></p>",
- "should support definitions in block quotes"
+ "should support definitions in block quotes (1)"
+ );
+
+ assert_eq!(
+ micromark("> [a]: <> 'b\n> c'"),
+ "<blockquote>\n</blockquote>",
+ "should support definitions in block quotes (2)"
);
// Extra