diff options
| author | Fuwn <[email protected]> | 2023-05-18 06:24:50 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-05-18 06:24:50 +0000 |
| commit | 56f53ddca0135e17708af585bfb50144d6836f55 (patch) | |
| tree | 1d5beea4c266a7d9bdd50fe4750540d618b0b160 /tests/convert.rs | |
| parent | fix: improve macro hygiene (diff) | |
| download | germ-56f53ddca0135e17708af585bfb50144d6836f55.tar.xz germ-56f53ddca0135e17708af585bfb50144d6836f55.zip | |
fmt: update rustfmt.toml
Diffstat (limited to 'tests/convert.rs')
| -rw-r--r-- | tests/convert.rs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/tests/convert.rs b/tests/convert.rs index aad7ac4..afff5bc 100644 --- a/tests/convert.rs +++ b/tests/convert.rs @@ -20,8 +20,7 @@ mod test { use germ::{ convert::{from_string, Target}, - gemini_to_html, - gemini_to_md, + gemini_to_html, gemini_to_md, }; #[test] @@ -31,10 +30,7 @@ mod test { #[test] fn convert_from_string_to_html_multi_line() { - assert_eq!( - from_string("hi\n# hi", &Target::HTML), - "<p>hi</p><h1>hi</h1>", - ); + assert_eq!(from_string("hi\n# hi", &Target::HTML), "<p>hi</p><h1>hi</h1>",); } #[test] |