aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-18 16:34:56 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-18 16:35:00 +0200
commit7186ce91784a647b3015e04b55a95b109deceeb3 (patch)
tree79e9c0bf255826a2aca0e27b324e120facaf972e /tests
parent5403261e8213f68633a09fc3e9bc2e6e2cd777b2 (diff)
downloadmarkdown-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.rs4
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()
}
),