aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc_soft_break.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc_soft_break.rs')
-rw-r--r--tests/misc_soft_break.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/misc_soft_break.rs b/tests/misc_soft_break.rs
index 43e2f3d..3d00464 100644
--- a/tests/misc_soft_break.rs
+++ b/tests/misc_soft_break.rs
@@ -1,17 +1,17 @@
-extern crate micromark;
-use micromark::micromark;
+extern crate markdown;
+use markdown::to_html;
use pretty_assertions::assert_eq;
#[test]
fn soft_break() {
assert_eq!(
- micromark("foo\nbaz"),
+ to_html("foo\nbaz"),
"<p>foo\nbaz</p>",
"should support line endings"
);
assert_eq!(
- micromark("foo \n baz"),
+ to_html("foo \n baz"),
"<p>foo\nbaz</p>",
"should trim spaces around line endings"
);