Skip to content

Commit

Permalink
format fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
martintc committed Apr 11, 2022
1 parent b684911 commit 30874b6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion os_info/src/freebsd/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ fn get_os() -> Type {
Ok(_) => return Type::Unknown,
Err(_) => return Type::FreeBSD,
}
},
}
Ok("MidnightBSD\n") => Type::MidnightBSD,
Ok(_) => Type::Unknown,
Err(_) => Type::Unknown,
Expand Down
2 changes: 1 addition & 1 deletion os_info/src/linux/file_release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const DISTRIBUTIONS: [ReleaseInfo; 6] = [
os_type: Type::Mariner,
path: "/etc/mariner-release",
version_matcher: Matcher::PrefixedVersion {
prefix: "CBL-Mariner "
prefix: "CBL-Mariner ",
},
},
ReleaseInfo {
Expand Down
1 change: 0 additions & 1 deletion os_info/src/linux/lsb_release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,6 @@ mod tests {
assert_eq!(parse_results.codename, Some("Mariner".to_string()));
}


#[test]
fn endeavouros() {
let parse_results = parse(endeavouros_file());
Expand Down

0 comments on commit 30874b6

Please sign in to comment.