|
15 | 15 | #![deny(clippy::pedantic)]
|
16 | 16 | #![allow(clippy::doc_link_with_quotes)]
|
17 | 17 | #![allow(clippy::too_many_lines)]
|
| 18 | +#![allow(clippy::missing_panics_doc)] |
18 | 19 | #![doc(
|
19 | 20 | html_logo_url = "https://raw.githubusercontent.com/wooorm/markdown-rs/8924580/media/logo-monochromatic.svg?sanitize=true"
|
20 | 21 | )]
|
@@ -1451,7 +1452,6 @@ impl Options {
|
1451 | 1452 | /// assert_eq!(to_html("# Hello, world!"), "<h1>Hello, world!</h1>");
|
1452 | 1453 | /// ```
|
1453 | 1454 | #[must_use]
|
1454 |
| -#[allow(clippy::missing_panics_doc)] |
1455 | 1455 | pub fn to_html(value: &str) -> String {
|
1456 | 1456 | to_html_with_options(value, &Options::default()).unwrap()
|
1457 | 1457 | }
|
@@ -1582,6 +1582,8 @@ mod tests {
|
1582 | 1582 | fn test_constructs() {
|
1583 | 1583 | #![allow(unused_must_use)]
|
1584 | 1584 | Constructs::default();
|
| 1585 | + Constructs::gfm(); |
| 1586 | + Constructs::mdx(); |
1585 | 1587 |
|
1586 | 1588 | let constructs = Constructs::default();
|
1587 | 1589 | assert!(constructs.attention, "should default to `CommonMark` (1)");
|
@@ -1624,6 +1626,8 @@ mod tests {
|
1624 | 1626 | fn test_parse_options() {
|
1625 | 1627 | #![allow(unused_must_use)]
|
1626 | 1628 | ParseOptions::default();
|
| 1629 | + ParseOptions::gfm(); |
| 1630 | + ParseOptions::mdx(); |
1627 | 1631 |
|
1628 | 1632 | let options = ParseOptions::default();
|
1629 | 1633 | assert!(
|
@@ -1691,6 +1695,7 @@ mod tests {
|
1691 | 1695 | fn test_compile_options() {
|
1692 | 1696 | #![allow(unused_must_use)]
|
1693 | 1697 | CompileOptions::default();
|
| 1698 | + CompileOptions::gfm(); |
1694 | 1699 |
|
1695 | 1700 | let options = CompileOptions::default();
|
1696 | 1701 | assert!(
|
|
0 commit comments