Skip to content

Commit

Permalink
Fix cargo clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbattat committed Sep 6, 2024
1 parent 6ba2158 commit 16e7442
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rs/ic_os/config/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ mod tests {
writeln!(temp_file, "key2=value2")?;
writeln!(temp_file, "# This is a comment")?;
writeln!(temp_file, "key3=value3")?;
writeln!(temp_file, "")?;
writeln!(temp_file)?;

let config_map = config_map_from_path(&file_path)?;

Expand Down Expand Up @@ -367,7 +367,7 @@ mod tests {
);
assert_eq!(networking.ipv4_prefix_length.unwrap(), 28);
assert_eq!(networking.domain, Some("example.com".to_string()));
assert_eq!(verbose, false);
assert!(!verbose);

// Test missing ipv6
let mut temp_file_missing = NamedTempFile::new()?;
Expand Down

0 comments on commit 16e7442

Please sign in to comment.