aboutsummaryrefslogtreecommitdiffstats
path: root/tests/misc_bom.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-28 17:54:39 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-09-28 17:55:44 +0200
commitb33a81e40620b8b3eaeeec9d0e0b34ca5958dead (patch)
treec91e56db38777b30cdcef591d0f7cd9bd1ac0ee8 /tests/misc_bom.rs
parenta0c84c505d733be2e987a333a34244c1befb56cb (diff)
downloadmarkdown-rs-b33a81e40620b8b3eaeeec9d0e0b34ca5958dead.tar.gz
markdown-rs-b33a81e40620b8b3eaeeec9d0e0b34ca5958dead.tar.bz2
markdown-rs-b33a81e40620b8b3eaeeec9d0e0b34ca5958dead.zip
Add support for turning mdast to hast
Diffstat (limited to '')
-rw-r--r--tests/misc_bom.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/misc_bom.rs b/tests/misc_bom.rs
index e26b407..47ce902 100644
--- a/tests/misc_bom.rs
+++ b/tests/misc_bom.rs
@@ -3,7 +3,7 @@ use micromark::micromark;
use pretty_assertions::assert_eq;
#[test]
-fn bom() -> Result<(), String> {
+fn bom() {
assert_eq!(micromark("\u{FEFF}"), "", "should ignore just a bom");
assert_eq!(
@@ -11,6 +11,4 @@ fn bom() -> Result<(), String> {
"<h1>hea\u{FEFF}ding</h1>",
"should ignore a bom"
);
-
- Ok(())
}