From 9228c6a6c6ba780ef22dbd6e0a0300bd21e47cb1 Mon Sep 17 00:00:00 2001 From: Rolo Date: Thu, 26 Dec 2024 01:12:48 -0800 Subject: [PATCH] chore: rename test add placeholder test --- helix-term/src/config.rs | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/helix-term/src/config.rs b/helix-term/src/config.rs index 7ebf37e70388d..b5e2d877eabc2 100644 --- a/helix-term/src/config.rs +++ b/helix-term/src/config.rs @@ -283,7 +283,7 @@ mod tests { } #[test] - fn should_deserialize_commands() { + fn should_deserialize_custom_commands() { let config = r#" [commands] ":wq" = [":write", "quit"] @@ -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:#?}") + // }; + // } }