aboutsummaryrefslogtreecommitdiffstats
path: root/tests/thematic_break.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/thematic_break.rs')
-rw-r--r--tests/thematic_break.rs6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/thematic_break.rs b/tests/thematic_break.rs
index fd90236..f4cb376 100644
--- a/tests/thematic_break.rs
+++ b/tests/thematic_break.rs
@@ -3,7 +3,7 @@ use micromark::{micromark, micromark_with_options, Constructs, Options};
use pretty_assertions::assert_eq;
#[test]
-fn thematic_break() {
+fn thematic_break() -> Result<(), String> {
assert_eq!(
micromark("***\n---\n___"),
"<hr />\n<hr />\n<hr />",
@@ -176,8 +176,10 @@ fn thematic_break() {
},
..Options::default()
}
- ),
+ )?,
"<p>***</p>",
"should support turning off thematic breaks"
);
+
+ Ok(())
}