mirror of
https://github.com/Tarrasch/zsh-autoenv.git
synced 2024-11-26 00:40:59 +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
|
$ source $TESTDIR/setup.sh
|
||||||
|
|
||||||
$ [[ $ENV_AUTHORIZATION_FILE[0,4] == '/tmp' ]] || return 1
|
|
||||||
|
|
||||||
Lets set a simple .env action
|
Lets set a simple .env action
|
||||||
|
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
Test $PWD and $_dotenv_cwd.
|
Test $PWD and $_dotenv_cwd.
|
||||||
|
|
||||||
Ensure we have our mocked out ENV_AUTHORIZATION_FILE.
|
$ source $TESTDIR/setup.sh
|
||||||
|
|
||||||
$ [[ $ENV_AUTHORIZATION_FILE[0,4] == '/tmp' ]] || return 1
|
|
||||||
|
|
||||||
Setup env actions / output.
|
Setup env actions / output.
|
||||||
|
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
Ensure we have our mocked out ENV_AUTHORIZATION_FILE
|
$ source $TESTDIR/setup.sh
|
||||||
|
|
||||||
$ [[ $ENV_AUTHORIZATION_FILE[0,4] == '/tmp' ]] || return 1
|
|
||||||
|
|
||||||
|
|
||||||
Lets set a simple .env action
|
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