aboutsummaryrefslogtreecommitdiffstats
path: root/tests/thematic_break.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-09 14:03:04 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-09 14:03:04 +0200
commitcba78821ed13d5a92c74d092914fbad4c842f889 (patch)
tree669b341687e0e1fc9f443625d7a29c5a56d9f700 /tests/thematic_break.rs
parent10355a403f57c93a074716c785d588c76de5634c (diff)
downloadmarkdown-rs-cba78821ed13d5a92c74d092914fbad4c842f889.tar.gz
markdown-rs-cba78821ed13d5a92c74d092914fbad4c842f889.tar.bz2
markdown-rs-cba78821ed13d5a92c74d092914fbad4c842f889.zip
Add temporary support for stripping whitespace
Diffstat (limited to 'tests/thematic_break.rs')
-rw-r--r--tests/thematic_break.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/thematic_break.rs b/tests/thematic_break.rs
index 1e3fb1e..fa86835 100644
--- a/tests/thematic_break.rs
+++ b/tests/thematic_break.rs
@@ -63,12 +63,11 @@ fn thematic_break() {
"should not support thematic breaks w/ 4 spaces"
);
- // To do: trim initial whitespace.
- // assert_eq!(
- // micromark("Foo\n ***"),
- // "<p>Foo\n***</p>",
- // "should not support thematic breaks w/ 4 spaces as paragraph continuation"
- // );
+ assert_eq!(
+ micromark("Foo\n ***"),
+ "<p>Foo\n***</p>",
+ "should not support thematic breaks w/ 4 spaces as paragraph continuation"
+ );
assert_eq!(
micromark("_____________________________________"),