From 182467c1d393dee2081ff80f1c049cb145f23123 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 20 Jun 2022 18:53:38 +0200 Subject: Add support for BOM --- tests/misc_zero.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/misc_zero.rs') 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"), "

asd�asd

", -- cgit