diff options
author | Manuel Woelker <github@manuel.woelker.org> | 2020-06-10 15:33:09 +0200 |
---|---|---|
committer | Manuel Woelker <github@manuel.woelker.org> | 2020-06-10 15:33:09 +0200 |
commit | d7df832cceaaa07d1546d05b5474b3cb70190e77 (patch) | |
tree | 5408eae157ae24e7af70f8b8b260e878b0c50d56 /src/config.rs | |
parent | 406b325c5477444db44541964cea130f44f11a7f (diff) |
fix test and formatting
Diffstat (limited to 'src/config.rs')
-rw-r--r-- | src/config.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/config.rs b/src/config.rs index cbcf3e91..8a7744eb 100644 --- a/src/config.rs +++ b/src/config.rs @@ -1022,10 +1022,7 @@ mod tests { let got = Config::from_str(src).unwrap(); let html_config = got.html_config().unwrap(); assert_eq!(html_config.input_404, None); - assert_eq!( - &get_404_output_file(&html_config.input_404), - "404.html" - ); + assert_eq!(&get_404_output_file(&html_config.input_404), "404.html"); } #[test] @@ -1039,9 +1036,6 @@ mod tests { let got = Config::from_str(src).unwrap(); let html_config = got.html_config().unwrap(); assert_eq!(html_config.input_404, Some("missing.md".to_string())); - assert_eq!( - &get_404_output_file(&html_config.input_404), - "missing.html" - ); + assert_eq!(&get_404_output_file(&html_config.input_404), "missing.html"); } } |