]> Sergey Matveev's repositories - zsh-autoenv.git/blobdiff - tests/_autoenv_stack.t
Fix handling of stack for leave, add to stack for autoenv_source_parent
[zsh-autoenv.git] / tests / _autoenv_stack.t
index df1e0f946e6fdf62e1428d57248e1c2a0cd530c4..6f659c693462cee4f052bd27722e84f5c1466f66 100644 (file)
@@ -50,3 +50,9 @@ Test lookup of containing elements.
   $ _autoenv_stack_entered_contains not-added
   [1]
 
+Test removing.
+
+  $ _autoenv_stack_entered_remove sub
+  $ echo ${_autoenv_stack_entered}
+  sub/sub2 non-existing sub/file
+