aboutsummaryrefslogtreecommitdiffstats
path: root/tests/code_indented.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/code_indented.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/code_indented.rs')
-rw-r--r--tests/code_indented.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/tests/code_indented.rs b/tests/code_indented.rs
index 80dae4b..5967cb3 100644
--- a/tests/code_indented.rs
+++ b/tests/code_indented.rs
@@ -40,12 +40,11 @@ fn code_indented() {
"should support blank lines in indented code (3)"
);
- // To do: strip whitespace.
- // assert_eq!(
- // micromark("Foo\n bar"),
- // "<p>Foo\nbar</p>",
- // "should not support interrupting paragraphs"
- // );
+ assert_eq!(
+ micromark("Foo\n bar"),
+ "<p>Foo\nbar</p>",
+ "should not support interrupting paragraphs"
+ );
assert_eq!(
micromark(" foo\nbar"),