Skip to content

Commit

Permalink
style: Run cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
jpedroh committed Dec 5, 2023
1 parent 292a4de commit 69a61e5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/src/language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
}
}

0 comments on commit 69a61e5

Please sign in to comment.