aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/text.rs10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/text.rs b/tests/text.rs
index 584f463..9c2b0a0 100644
--- a/tests/text.rs
+++ b/tests/text.rs
@@ -1,23 +1,23 @@
-extern crate micromark;
-use micromark::micromark;
+extern crate markdown;
+use markdown::to_html;
use pretty_assertions::assert_eq;
#[test]
fn text() {
assert_eq!(
- micromark("hello $.;'there"),
+ to_html("hello $.;'there"),
"<p>hello $.;'there</p>",
"should support ascii text"
);
assert_eq!(
- micromark("Foo χρῆν"),
+ to_html("Foo χρῆν"),
"<p>Foo χρῆν</p>",
"should support unicode text"
);
assert_eq!(
- micromark("Multiple spaces"),
+ to_html("Multiple spaces"),
"<p>Multiple spaces</p>",
"should preserve internal spaces verbatim"
);