From bfee3c907e266a414585a9cda0b15d4acb764ccd Mon Sep 17 00:00:00 2001 From: Ajeet D'Souza <98ajeet@gmail.com> Date: Tue, 7 Jul 2026 04:16:06 +0530 Subject: [PATCH] Remove template test --- src/shell.rs | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/shell.rs b/src/shell.rs index 83d78e0..8812b1c 100644 --- a/src/shell.rs +++ b/src/shell.rs @@ -33,26 +33,6 @@ make_template!(Tcsh, "tcsh.txt"); make_template!(Xonsh, "xonsh.txt"); make_template!(Zsh, "zsh.txt"); -#[cfg(test)] -mod template_tests { - #[test] - fn windows_bash_and_zsh_pwd_substitute_before_cygpath() { - for (name, template) in [ - ("bash", include_str!("../templates/bash.txt")), - ("zsh", include_str!("../templates/zsh.txt")), - ] { - assert!( - template.contains(r#"\command cygpath -w "$({{ pwd }})""#), - "{name} template should pass the output of pwd to cygpath" - ); - assert!( - !template.contains(r#"\command cygpath -w "{{ pwd }}""#), - "{name} template should not pass the literal pwd command to cygpath" - ); - } - } -} - #[cfg(feature = "nix-dev")] #[cfg(test)] mod tests {