Skip to content

Commit

Permalink
Fix: Adjust lsb_release properly
Browse files Browse the repository at this point in the history
  • Loading branch information
8bitZeta committed Feb 26, 2024
1 parent f983fc3 commit d90482b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions os_info/src/linux/lsb_release.rs
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,14 @@ mod tests {
assert_eq!(parse_results.codename, None);
}

#[test]
fn ultramarine() {
let parse_results = parse(ultramarine_file());
assert_eq!(parse_results.distribution, Some("UltramarineLinux".to_string()));
assert_eq!(parse_results.version, Some("39".to_string()));
assert_eq!(parse_results.codename, Some("kuma".to_string()));

Check warning on line 319 in os_info/src/linux/lsb_release.rs

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (kuma)
}

#[test]
fn raspbian() {
let parse_results = parse(raspberry_os_file());
Expand Down

0 comments on commit d90482b

Please sign in to comment.