From b33a81e40620b8b3eaeeec9d0e0b34ca5958dead Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Wed, 28 Sep 2022 17:54:39 +0200 Subject: Add support for turning mdast to hast --- tests/misc_soft_break.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/misc_soft_break.rs') 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"), "

foo\nbaz

", @@ -15,6 +15,4 @@ fn soft_break() -> Result<(), String> { "

foo\nbaz

", "should trim spaces around line endings" ); - - Ok(()) } -- cgit