From 7186ce91784a647b3015e04b55a95b109deceeb3 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 18 Jul 2022 16:34:56 +0200 Subject: Change to improve `default_line_ending` api --- tests/misc_default_line_ending.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/misc_default_line_ending.rs') diff --git a/tests/misc_default_line_ending.rs b/tests/misc_default_line_ending.rs index ceada62..547cae1 100644 --- a/tests/misc_default_line_ending.rs +++ b/tests/misc_default_line_ending.rs @@ -31,7 +31,7 @@ fn default_line_ending() { micromark_with_options( "> a", &Options { - default_line_ending: Some(LineEnding::CarriageReturn), + default_line_ending: LineEnding::CarriageReturn, ..Options::default() } ), @@ -43,7 +43,7 @@ fn default_line_ending() { micromark_with_options( "> a\n", &Options { - default_line_ending: Some(LineEnding::CarriageReturn), + default_line_ending: LineEnding::CarriageReturn, ..Options::default() } ), -- cgit