diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-07-18 16:34:56 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-07-18 16:35:00 +0200 |
commit | 7186ce91784a647b3015e04b55a95b109deceeb3 (patch) | |
tree | 79e9c0bf255826a2aca0e27b324e120facaf972e /tests | |
parent | 5403261e8213f68633a09fc3e9bc2e6e2cd777b2 (diff) | |
download | markdown-rs-7186ce91784a647b3015e04b55a95b109deceeb3.tar.gz markdown-rs-7186ce91784a647b3015e04b55a95b109deceeb3.tar.bz2 markdown-rs-7186ce91784a647b3015e04b55a95b109deceeb3.zip |
Change to improve `default_line_ending` api
Diffstat (limited to 'tests')
-rw-r--r-- | tests/misc_default_line_ending.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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() } ), |