aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc_soft_break.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-13 10:40:01 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-13 10:40:01 +0200
commitec2d1bfb4232178fb3a6cba36f138bc6efbbf34a (patch)
tree2da4be3be22c2324c48cb17133b3f4b26b9139d2 /tests/misc_soft_break.rs
parent861af95c119721e814460fa7dc32bd3d74b38484 (diff)
downloadmarkdown-rs-ec2d1bfb4232178fb3a6cba36f138bc6efbbf34a.tar.gz
markdown-rs-ec2d1bfb4232178fb3a6cba36f138bc6efbbf34a.tar.bz2
markdown-rs-ec2d1bfb4232178fb3a6cba36f138bc6efbbf34a.zip
Rename crate to `markdown`
Diffstat (limited to '')
-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"
);