use mini_markdown::render; #[test] fn commonmark_test_593_autolinks() { let test_html = render("\n"); let reference_html = "

http://foo.bar.baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_594_autolinks() { let test_html = render("\n"); let reference_html = "

http://foo.bar.baz/test?q=hello&id=22&boolean

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_595_autolinks() { let test_html = render("\n"); let reference_html = "

irc://foo.bar:2233/baz

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_596_autolinks() { let test_html = render("\n"); let reference_html = "

MAILTO:FOO@BAR.BAZ

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_597_autolinks() { let test_html = render("\n"); let reference_html = "

a+b+c:d

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_598_autolinks() { let test_html = render("\n"); let reference_html = "

made-up-scheme://foo,bar

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_599_autolinks() { let test_html = render("\n"); let reference_html = "

http://../

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_600_autolinks() { let test_html = render("\n"); let reference_html = "

localhost:5001/foo

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_601_autolinks() { let test_html = render("\n"); let reference_html = "

<http://foo.bar/baz bim>

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_602_autolinks() { let test_html = render("\n"); let reference_html = "

http://example.com/\\[\\

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_603_autolinks() { let test_html = render("\n"); let reference_html = "

foo@bar.example.com

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_604_autolinks() { let test_html = render("\n"); let reference_html = "

foo+special@Bar.baz-bar0.com

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_605_autolinks() { let test_html = render("\n"); let reference_html = "

<foo+@bar.example.com>

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_606_autolinks() { let test_html = render("<>\n"); let reference_html = "

<>

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_607_autolinks() { let test_html = render("< http://foo.bar >\n"); let reference_html = "

< http://foo.bar >

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_608_autolinks() { let test_html = render("\n"); let reference_html = "

<m:abc>

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_609_autolinks() { let test_html = render("\n"); let reference_html = "

<foo.bar.baz>

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_610_autolinks() { let test_html = render("http://example.com\n"); let reference_html = "

http://example.com

\n"; assert_eq!(test_html, reference_html); } #[test] fn commonmark_test_611_autolinks() { let test_html = render("foo@bar.example.com\n"); let reference_html = "

foo@bar.example.com

\n"; assert_eq!(test_html, reference_html); }