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/text.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'tests/text.rs') diff --git a/tests/text.rs b/tests/text.rs index a2ef1fb..584f463 100644 --- a/tests/text.rs +++ b/tests/text.rs @@ -3,7 +3,7 @@ use micromark::micromark; use pretty_assertions::assert_eq; #[test] -fn text() -> Result<(), String> { +fn text() { assert_eq!( micromark("hello $.;'there"), "

hello $.;'there

", @@ -21,6 +21,4 @@ fn text() -> Result<(), String> { "

Multiple spaces

", "should preserve internal spaces verbatim" ); - - Ok(()) } -- cgit