diff options
Diffstat (limited to 'tests')
32 files changed, 33 insertions, 0 deletions
diff --git a/tests/attention.rs b/tests/attention.rs index 9a3e2fe..c7d7454 100644 --- a/tests/attention.rs +++ b/tests/attention.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn attention() { diff --git a/tests/autolink.rs b/tests/autolink.rs index b6258e6..b851583 100644 --- a/tests/autolink.rs +++ b/tests/autolink.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn autolink() { diff --git a/tests/block_quote.rs b/tests/block_quote.rs index 2f69bf5..5c72fb9 100644 --- a/tests/block_quote.rs +++ b/tests/block_quote.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn block_quote() { diff --git a/tests/character_escape.rs b/tests/character_escape.rs index 8cd170d..2ecaa5f 100644 --- a/tests/character_escape.rs +++ b/tests/character_escape.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn character_escape() { diff --git a/tests/character_reference.rs b/tests/character_reference.rs index c41f47d..c388514 100644 --- a/tests/character_reference.rs +++ b/tests/character_reference.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn character_reference() { diff --git a/tests/code_fenced.rs b/tests/code_fenced.rs index 99f729e..fd35eb8 100644 --- a/tests/code_fenced.rs +++ b/tests/code_fenced.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn code_fenced() { diff --git a/tests/code_indented.rs b/tests/code_indented.rs index cb316e7..cd27953 100644 --- a/tests/code_indented.rs +++ b/tests/code_indented.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn code_indented() { diff --git a/tests/code_text.rs b/tests/code_text.rs index 834b831..5199e7e 100644 --- a/tests/code_text.rs +++ b/tests/code_text.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn code_text() { diff --git a/tests/commonmark.rs b/tests/commonmark.rs index 95871a4..889bbf3 100644 --- a/tests/commonmark.rs +++ b/tests/commonmark.rs @@ -5,6 +5,7 @@ extern crate micromark; use micromark::{micromark_with_options, Options}; +use pretty_assertions::assert_eq; #[rustfmt::skip] #[test] diff --git a/tests/definition.rs b/tests/definition.rs index 5fee153..589994d 100644 --- a/tests/definition.rs +++ b/tests/definition.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn definition() { diff --git a/tests/frontmatter.rs b/tests/frontmatter.rs index 4882bf2..012eb9a 100644 --- a/tests/frontmatter.rs +++ b/tests/frontmatter.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn frontmatter() { diff --git a/tests/hard_break_escape.rs b/tests/hard_break_escape.rs index 1f93429..70fbf64 100644 --- a/tests/hard_break_escape.rs +++ b/tests/hard_break_escape.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn hard_break_escape() { diff --git a/tests/hard_break_trailing.rs b/tests/hard_break_trailing.rs index 2f75084..f977657 100644 --- a/tests/hard_break_trailing.rs +++ b/tests/hard_break_trailing.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn hard_break_trailing() { diff --git a/tests/heading_atx.rs b/tests/heading_atx.rs index f785ca6..715b17a 100644 --- a/tests/heading_atx.rs +++ b/tests/heading_atx.rs @@ -1,5 +1,7 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; + #[test] fn heading_atx() { assert_eq!( diff --git a/tests/heading_setext.rs b/tests/heading_setext.rs index e8d1492..22155f0 100644 --- a/tests/heading_setext.rs +++ b/tests/heading_setext.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn heading_setext() { diff --git a/tests/html_flow.rs b/tests/html_flow.rs index d3dfe59..7013657 100644 --- a/tests/html_flow.rs +++ b/tests/html_flow.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn html_flow() { diff --git a/tests/html_text.rs b/tests/html_text.rs index 65030b2..988ebbc 100644 --- a/tests/html_text.rs +++ b/tests/html_text.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn html_text() { diff --git a/tests/image.rs b/tests/image.rs index 460d8bb..e7865e6 100644 --- a/tests/image.rs +++ b/tests/image.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn image() { diff --git a/tests/link_reference.rs b/tests/link_reference.rs index 17c8cde..d4f5d87 100644 --- a/tests/link_reference.rs +++ b/tests/link_reference.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn link_reference() { diff --git a/tests/link_resource.rs b/tests/link_resource.rs index 7f48fb1..aaf4b8b 100644 --- a/tests/link_resource.rs +++ b/tests/link_resource.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Options}; +use pretty_assertions::assert_eq; #[test] fn link_resource() { diff --git a/tests/list.rs b/tests/list.rs index d75421f..fc416cc 100644 --- a/tests/list.rs +++ b/tests/list.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn list() { diff --git a/tests/misc_bom.rs b/tests/misc_bom.rs index 44f661e..47ce902 100644 --- a/tests/misc_bom.rs +++ b/tests/misc_bom.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::micromark; +use pretty_assertions::assert_eq; #[test] fn bom() { diff --git a/tests/misc_dangerous_html.rs b/tests/misc_dangerous_html.rs index 5559774..6bc73d8 100644 --- a/tests/misc_dangerous_html.rs +++ b/tests/misc_dangerous_html.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Options}; +use pretty_assertions::assert_eq; #[test] fn dangerous_html() { diff --git a/tests/misc_dangerous_protocol.rs b/tests/misc_dangerous_protocol.rs index 3aa042a..0c25eba 100644 --- a/tests/misc_dangerous_protocol.rs +++ b/tests/misc_dangerous_protocol.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::micromark; +use pretty_assertions::assert_eq; #[test] fn dangerous_protocol_autolink() { diff --git a/tests/misc_default_line_ending.rs b/tests/misc_default_line_ending.rs index 547cae1..531165c 100644 --- a/tests/misc_default_line_ending.rs +++ b/tests/misc_default_line_ending.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, LineEnding, Options}; +use pretty_assertions::assert_eq; #[test] fn default_line_ending() { diff --git a/tests/misc_line_ending.rs b/tests/misc_line_ending.rs index a8d122e..d8334d8 100644 --- a/tests/misc_line_ending.rs +++ b/tests/misc_line_ending.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Options}; +use pretty_assertions::assert_eq; #[test] fn line_ending() { diff --git a/tests/misc_soft_break.rs b/tests/misc_soft_break.rs index 50dedc1..43e2f3d 100644 --- a/tests/misc_soft_break.rs +++ b/tests/misc_soft_break.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::micromark; +use pretty_assertions::assert_eq; #[test] fn soft_break() { diff --git a/tests/misc_tabs.rs b/tests/misc_tabs.rs index da54e59..138aa7b 100644 --- a/tests/misc_tabs.rs +++ b/tests/misc_tabs.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Options}; +use pretty_assertions::assert_eq; #[test] fn tabs_flow() { diff --git a/tests/misc_url.rs b/tests/misc_url.rs index 027f9bf..4fff26d 100644 --- a/tests/misc_url.rs +++ b/tests/misc_url.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::micromark; +use pretty_assertions::assert_eq; #[test] fn url() { diff --git a/tests/misc_zero.rs b/tests/misc_zero.rs index 47aa8ed..0b54d50 100644 --- a/tests/misc_zero.rs +++ b/tests/misc_zero.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::micromark; +use pretty_assertions::assert_eq; #[test] fn zero() { diff --git a/tests/text.rs b/tests/text.rs index 7db9e1a..584f463 100644 --- a/tests/text.rs +++ b/tests/text.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::micromark; +use pretty_assertions::assert_eq; #[test] fn text() { diff --git a/tests/thematic_break.rs b/tests/thematic_break.rs index 1bb66cc..fd90236 100644 --- a/tests/thematic_break.rs +++ b/tests/thematic_break.rs @@ -1,5 +1,6 @@ extern crate micromark; use micromark::{micromark, micromark_with_options, Constructs, Options}; +use pretty_assertions::assert_eq; #[test] fn thematic_break() { |