diff --git a/helix-term/tests/test/commands.rs b/helix-term/tests/test/commands.rs index 2d635ba342d1a..a44939f05acf3 100644 --- a/helix-term/tests/test/commands.rs +++ b/helix-term/tests/test/commands.rs @@ -164,6 +164,17 @@ async fn test_goto_file_impl() -> anyhow::Result<()> { ) .await?; + // allow numeric values in path + test_key_sequence( + &mut AppBuilder::new().with_file(file.path(), None).build()?, + Some("iimport 'one123.js';B;gf"), + Some(&|app| { + assert_eq!(1, match_paths(app, vec!["one123.js"])); + }), + false, + ) + .await?; + Ok(()) }