extern crate micromark; use micromark::micromark; #[test] fn soft_break() { assert_eq!( micromark("foo\nbaz"), "

foo\nbaz

", "should support line endings" ); assert_eq!( micromark("foo \n baz"), "

foo\nbaz

", "should trim spaces around line endings" ); }