Skip to content

Commit

Permalink
style: rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bezhermoso committed Jan 18, 2025
1 parent c2d0771 commit fe663e4
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions tests/cli_list_subcommand_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,11 +415,21 @@ fn test_cli_list_subcommand_deserialize_fixture_scheme_entry() -> Result<()> {
);
}

let (foreground, background) = github.lightness.map(|l| (l.foreground, l.background))
let (foreground, background) = github
.lightness
.map(|l| (l.foreground, l.background))
.unwrap();

assert!(background == 100.0, "Expected lightness.background to be 100, got {}", background);
assert!(foreground == 21.246727, "Expected lightness.background to be 100, got {}", foreground);
assert!(
background == 100.0,
"Expected lightness.background to be 100, got {}",
background
);
assert!(
foreground == 21.246727,
"Expected lightness.background to be 100, got {}",
foreground
);

Ok(())
}
Expand Down

0 comments on commit fe663e4

Please sign in to comment.