From 246063fb7cd21a83beae5934f95b2795fb85df51 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Fri, 14 Oct 2022 10:49:28 +0200 Subject: Refactor to use default trait in tests --- tests/mdx_swc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/mdx_swc.rs') diff --git a/tests/mdx_swc.rs b/tests/mdx_swc.rs index ed9bc60..a24864f 100644 --- a/tests/mdx_swc.rs +++ b/tests/mdx_swc.rs @@ -11,9 +11,9 @@ fn mdx_swc() -> Result<(), String> { constructs: Constructs::mdx(), mdx_esm_parse: Some(Box::new(parse_esm)), mdx_expression_parse: Some(Box::new(parse_expression)), - ..ParseOptions::default() + ..Default::default() }, - ..Options::default() + ..Default::default() }; assert_eq!( -- cgit