Add a test for DOTENV_HANDLE_LEAVE=0
This commit is contained in:
parent
4676713bc6
commit
1d3e5b69a7
|
@ -78,3 +78,13 @@ Now check with subdirs, not looking at parent dirs.
|
|||
$ cd child
|
||||
$ cd ../..
|
||||
LEFT
|
||||
|
||||
|
||||
Test that .env is sourced only once with DOTENV_HANDLE_LEAVE=0.
|
||||
|
||||
$ unset _dotenv_stack_entered
|
||||
$ DOTENV_HANDLE_LEAVE=0
|
||||
$ cd sub
|
||||
ENTERED
|
||||
$ cd ..
|
||||
$ cd sub
|
||||
|
|
Loading…
Reference in New Issue