Move test to test module

imgbot
Nehliin 3 years ago committed by Blaž Hrastnik
parent fbba47fbc0
commit f133d80e70

@ -654,6 +654,9 @@ pub fn merge_keys(mut config: Config) -> Config {
config
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn merge_partial_keys() {
let config = Config {
@ -714,3 +717,4 @@ fn merge_partial_keys() {
assert!(merged_config.keys.0.get(&Mode::Normal).unwrap().len() > 1);
assert!(merged_config.keys.0.get(&Mode::Insert).unwrap().len() > 0);
}
}

Loading…
Cancel
Save