Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Jan 31, 2024
1 parent 29b3119 commit 7fda26d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/parse/guess_language.rs
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,10 @@ mod tests {
#[test]
fn test_guess_by_xml_header() {
let path = Path::new("foo");
assert_eq!(guess(path, "<?xml version=\"1.0\" encoding=\"utf-8\"?>", &[]), Some(Xml));
assert_eq!(
guess(path, "<?xml version=\"1.0\" encoding=\"utf-8\"?>", &[]),
Some(Xml)
);
}

#[test]
Expand Down

0 comments on commit 7fda26d

Please sign in to comment.