aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-20 17:06:00 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-06-20 17:06:00 +0200
commit65dd765cceee8bdccc74c08066eec59a579a16b1 (patch)
treecb60ab00039135b6f0a65efcb508f73a8b39aa11 /tests
parent61271d73128f8553f8c4c17927828cde52a25eba (diff)
downloadmarkdown-rs-65dd765cceee8bdccc74c08066eec59a579a16b1.tar.gz
markdown-rs-65dd765cceee8bdccc74c08066eec59a579a16b1.tar.bz2
markdown-rs-65dd765cceee8bdccc74c08066eec59a579a16b1.zip
Add improved whitespace handling
* add several helpers for parsing betwen x and y `space_or_tab`s * use those helpers in a bunch of places * move initial indent parsing to flow constructs themselves
Diffstat (limited to 'tests')
-rw-r--r--tests/autolink.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/autolink.rs b/tests/autolink.rs
index 9d394d7..51873ed 100644
--- a/tests/autolink.rs
+++ b/tests/autolink.rs
@@ -7,7 +7,7 @@ const DANGER: &CompileOptions = &CompileOptions {
};
#[test]
-fn autolink() {
+fn code_fenced() {
assert_eq!(
micromark("```\n<\n >\n```"),
"<pre><code>&lt;\n &gt;\n</code></pre>",