Run each test in a clean directory

This commit is contained in:
2021-12-20 19:52:28 -08:00
parent 4f70443bda
commit f679a866f1
3 changed files with 31 additions and 8 deletions

View File

@@ -7,7 +7,7 @@ testDefiningALightningFunctionWorks() {
hello() { echo "Hello, World!" ; }
' > go
echo "source $(dirname $BASH_SOURCE)/../⚡️" >> go
echo "source $REPO_ROOT/⚡️" >> go
chmod +x go
try ./go hello