diff options
Diffstat (limited to '')
| -rw-r--r-- | tests/html_flow.rs | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/html_flow.rs b/tests/html_flow.rs index 41f6565..d79f031 100644 --- a/tests/html_flow.rs +++ b/tests/html_flow.rs @@ -13,9 +13,9 @@ fn html_flow() -> Result<(), String> { compile: CompileOptions { allow_dangerous_html: true, allow_dangerous_protocol: true, - ..CompileOptions::default() + ..Default::default() }, - ..Options::default() + ..Default::default() }; assert_eq!( @@ -37,11 +37,11 @@ fn html_flow() -> Result<(), String> { parse: ParseOptions { constructs: Constructs { html_flow: false, - ..Constructs::default() + ..Default::default() }, - ..ParseOptions::default() + ..Default::default() }, - ..Options::default() + ..Default::default() } )?, "<p><x></p>", @@ -49,7 +49,7 @@ fn html_flow() -> Result<(), String> { ); assert_eq!( - to_mdast("<div>\nstuff\n</div>", &ParseOptions::default())?, + to_mdast("<div>\nstuff\n</div>", &Default::default())?, Node::Root(Root { children: vec