aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc_soft_break.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-28 17:54:39 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-28 17:55:44 +0200
commitb33a81e40620b8b3eaeeec9d0e0b34ca5958dead (patch)
treec91e56db38777b30cdcef591d0f7cd9bd1ac0ee8 /tests/misc_soft_break.rs
parenta0c84c505d733be2e987a333a34244c1befb56cb (diff)
downloadmarkdown-rs-b33a81e40620b8b3eaeeec9d0e0b34ca5958dead.tar.gz
markdown-rs-b33a81e40620b8b3eaeeec9d0e0b34ca5958dead.tar.bz2
markdown-rs-b33a81e40620b8b3eaeeec9d0e0b34ca5958dead.zip
Add support for turning mdast to hast
Diffstat (limited to '')
-rw-r--r--tests/misc_soft_break.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/misc_soft_break.rs b/tests/misc_soft_break.rs
index 746b41d..43e2f3d 100644
--- a/tests/misc_soft_break.rs
+++ b/tests/misc_soft_break.rs
@@ -3,7 +3,7 @@ use micromark::micromark;
use pretty_assertions::assert_eq;
#[test]
-fn soft_break() -> Result<(), String> {
+fn soft_break() {
assert_eq!(
micromark("foo\nbaz"),
"<p>foo\nbaz</p>",
@@ -15,6 +15,4 @@ fn soft_break() -> Result<(), String> {
"<p>foo\nbaz</p>",
"should trim spaces around line endings"
);
-
- Ok(())
}