Skip to content

Commit

Permalink
don't crash on missing config entries
Browse files Browse the repository at this point in the history
  • Loading branch information
jhspetersson committed May 11, 2024
1 parent 10258ee commit 7c7f642
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,6 @@ mod tests {
fn default_config() {
let config = Config::default();

assert!(config.is_source.contains(&String::from(".rs")));
assert!(config.is_source.unwrap().contains(&String::from(".rs")));
}
}

0 comments on commit 7c7f642

Please sign in to comment.