1
0
mirror of https://github.com/Tarrasch/zsh-autoenv.git synced 2026-05-08 04:09:16 +03:00

tests: add setup script, used to be for all tests

This commit is contained in:
Daniel Hahler
2014-11-21 20:07:06 +01:00
parent 19d9e50650
commit c1a25d724e
4 changed files with 6 additions and 10 deletions
+1 -3
View File
@@ -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 -3
View File
@@ -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 -4
View File
@@ -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
View File
@@ -0,0 +1,3 @@
# Ensure we have our mocked out ENV_AUTHORIZATION_FILE
[[ $ENV_AUTHORIZATION_FILE[0,4] == '/tmp' ]] || return 1