Skip to content

Commit db9ecdd

Browse files
committed
Remove core tests, which tarpaulin doesn’t understand
1 parent c16ce73 commit db9ecdd

File tree

1 file changed

+0
-35
lines changed

1 file changed

+0
-35
lines changed

src/lib.rs

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -146,38 +146,3 @@ pub fn to_mdast(value: &str, options: &ParseOptions) -> Result<mdast::Node, Stri
146146
let node = to_mdast::compile(&events, parse_state.bytes)?;
147147
Ok(node)
148148
}
149-
150-
#[cfg(test)]
151-
mod tests {
152-
extern crate std;
153-
use super::*;
154-
155-
#[test]
156-
fn test_to_html() {
157-
assert_eq!(
158-
to_html("a"),
159-
"<p>a</p>",
160-
"should support turning markdown into html with `to_html`"
161-
);
162-
}
163-
164-
#[test]
165-
fn test_to_html_with_options() {
166-
assert_eq!(
167-
to_html_with_options("a", &Options::default()).unwrap(),
168-
"<p>a</p>",
169-
"should support turning markdown into html with `to_html_with_options`"
170-
);
171-
}
172-
173-
#[test]
174-
fn test_to_mdast() {
175-
assert!(
176-
matches!(
177-
to_mdast("a", &ParseOptions::default()).unwrap(),
178-
mdast::Node::Root(_)
179-
),
180-
"should support turning markdown into mdast with `to_mdast`"
181-
);
182-
}
183-
}

0 commit comments

Comments
 (0)