From 69a61e58bfd42256c972d6b5487315ef77160765 Mon Sep 17 00:00:00 2001 From: Joao Duarte Date: Tue, 5 Dec 2023 01:05:42 -0300 Subject: [PATCH] style: Run cargo fmt --- bin/src/language.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/src/language.rs b/bin/src/language.rs index e08e45b..a7528cd 100644 --- a/bin/src/language.rs +++ b/bin/src/language.rs @@ -25,6 +25,9 @@ mod tests { #[test] fn if_the_file_extension_has_a_parser_available_it_returns_a_parser_configuration() { let file_path = std::path::PathBuf::from("/path/for/java/file/Example.java"); - assert_eq!(get_language_by_file_path(&file_path).unwrap(), model::Language::Java) + assert_eq!( + get_language_by_file_path(&file_path).unwrap(), + model::Language::Java + ) } }