From db9ecdd93eb6ff8bb9b7039743b4ef3cbbcf2ab1 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 14 Oct 2022 14:23:58 +0200 Subject: Remove core tests, which tarpaulin doesn’t understand MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib.rs | 35 ----------------------------------- 1 file changed, 35 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ab4c08e..143c931 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -146,38 +146,3 @@ pub fn to_mdast(value: &str, options: &ParseOptions) -> Resulta

", - "should support turning markdown into html with `to_html`" - ); - } - - #[test] - fn test_to_html_with_options() { - assert_eq!( - to_html_with_options("a", &Options::default()).unwrap(), - "

a

", - "should support turning markdown into html with `to_html_with_options`" - ); - } - - #[test] - fn test_to_mdast() { - assert!( - matches!( - to_mdast("a", &ParseOptions::default()).unwrap(), - mdast::Node::Root(_) - ), - "should support turning markdown into mdast with `to_mdast`" - ); - } -} -- cgit