mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-25 16:31:00 +02:00
tests: add setup script, used to be for all tests
This commit is contained in:
parent
19d9e50650
commit
c1a25d724e
@ -1,6 +1,4 @@
|
||||
Ensure we have our mocked out ENV_AUTHORIZATION_FILE
|
||||
|
||||
$ [[ $ENV_AUTHORIZATION_FILE[0,4] == '/tmp' ]] || return 1
|
||||
$ source $TESTDIR/setup.sh
|
||||
|
||||
Lets set a simple .env action
|
||||
|
||||
|
@ -1,8 +1,6 @@
|
||||
Test $PWD and $_dotenv_cwd.
|
||||
|
||||
Ensure we have our mocked out ENV_AUTHORIZATION_FILE.
|
||||
|
||||
$ [[ $ENV_AUTHORIZATION_FILE[0,4] == '/tmp' ]] || return 1
|
||||
$ source $TESTDIR/setup.sh
|
||||
|
||||
Setup env actions / output.
|
||||
|
||||
|
@ -1,7 +1,4 @@
|
||||
Ensure we have our mocked out ENV_AUTHORIZATION_FILE
|
||||
|
||||
$ [[ $ENV_AUTHORIZATION_FILE[0,4] == '/tmp' ]] || return 1
|
||||
|
||||
$ source $TESTDIR/setup.sh
|
||||
|
||||
Lets set a simple .env action
|
||||
|
||||
|
3
tests/setup.sh
Normal file
3
tests/setup.sh
Normal file
@ -0,0 +1,3 @@
|
||||
# Ensure we have our mocked out ENV_AUTHORIZATION_FILE
|
||||
|
||||
[[ $ENV_AUTHORIZATION_FILE[0,4] == '/tmp' ]] || return 1
|
Loading…
Reference in New Issue
Block a user