Skip to content

Commit

Permalink
Fix clippy error
Browse files Browse the repository at this point in the history
  • Loading branch information
Techassi committed Jan 9, 2024
1 parent 916a7e6 commit 2ee0fad
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lychee-bin/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -477,8 +477,10 @@ mod tests {

#[test]
fn test_accept_status_codes() {
let mut toml = Config::default();
toml.accept = AcceptSelector::from_str("200..=204, 429, 500").unwrap();
let toml = Config {
accept: AcceptSelector::from_str("200..=204, 429, 500").unwrap(),
..Default::default()
};

let mut cli = Config::default();
cli.merge(toml);
Expand Down

0 comments on commit 2ee0fad

Please sign in to comment.