aboutsummaryrefslogblamecommitdiffstats
path: root/tests/lib.rs
blob: 18fcef266091e6d6b250147b9ed1d42fd59052c5 (plain) (tree)
1
2
3
4
5
6
7
8







                                                                       
extern crate micromark;
use micromark::micromark;

#[test]
fn basic() {
    assert_eq!(micromark("asd"), "<p>asd</p>", "should work");
    assert_eq!(micromark("1 < 3"), "<p>1 &lt; 3</p>", "should encode");
}