aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fuzz.rs
blob: 3cc1066903615d5951d9452174056619b1426a78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern crate micromark;
use micromark::micromark;
use pretty_assertions::assert_eq;

#[test]
fn fuzz() -> Result<(), String> {
    assert_eq!(
        micromark("[\n~\na\n-\n\n"),
        "<p>[\n~\na</p>\n<ul>\n<li></li>\n</ul>\n",
        "1"
    );

    Ok(())
}