From 37fad739ba73d488d4c3652caee01f1ec5d0aaaa Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 21 Jul 2022 17:48:26 +0200 Subject: Refactor performance around links in subtokenize --- tests/definition.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests') 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]"), "
\n
\n

foo

", - "should support definitions in block quotes" + "should support definitions in block quotes (1)" + ); + + assert_eq!( + micromark("> [a]: <> 'b\n> c'"), + "
\n
", + "should support definitions in block quotes (2)" ); // Extra -- cgit