Skip to content

Commit

Permalink
test(defaults): fix keys_resolve_to_correct_defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
usagi-flow committed May 26, 2024
1 parent 35c6581 commit f7371d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helix-term/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,10 @@ mod tests {
fn keys_resolve_to_correct_defaults() {
// From serde default
let default_keys = Config::load_test("").keys;
assert_eq!(default_keys, keymap::default());
assert_eq!(default_keys, keymap::default_evil());

// From the Default trait
let default_keys = Config::default().keys;
assert_eq!(default_keys, keymap::default());
assert_eq!(default_keys, keymap::default_evil());
}
}

0 comments on commit f7371d4

Please sign in to comment.