aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc_zero.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/misc_zero.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/misc_zero.rs b/tests/misc_zero.rs
index 946a3e2..47aa8ed 100644
--- a/tests/misc_zero.rs
+++ b/tests/misc_zero.rs
@@ -3,6 +3,8 @@ use micromark::micromark;
#[test]
fn zero() {
+ assert_eq!(micromark(""), "", "should support no markdown");
+
assert_eq!(
micromark("asd\0asd"),
"<p>asd�asd</p>",