Skip to content

Commit

Permalink
chore: rename test add placeholder test
Browse files Browse the repository at this point in the history
  • Loading branch information
RoloEdits committed Dec 27, 2024
1 parent 3fce8f9 commit 9228c6a
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion helix-term/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ mod tests {
}

#[test]
fn should_deserialize_commands() {
fn should_deserialize_custom_commands() {
let config = r#"
[commands]
":wq" = [":write", "quit"]
Expand All @@ -295,4 +295,20 @@ mod tests {
panic!("{err:#?}")
};
}

// TODO: See if this capabiliy till be allowed
// #[test]
// fn should_deserialize_custom_commands_into_keys() {
// let config = r#"
// [keys.normal.space]
// g = ":lg"

// [commands]
// ":lg" = ""
// "#;

// if let Err(err) = Config::load_test(config) {
// panic!("{err:#?}")
// };
// }
}

0 comments on commit 9228c6a

Please sign in to comment.