init
This commit is contained in:
8
test/assertFileDoesntExist
Executable file
8
test/assertFileDoesntExist
Executable file
@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
error() { echo -e "\\e[31m✗ $*\\e[0m"; }
|
||||
|
||||
if [ -f $1 ]; then
|
||||
error "File '$1' found"
|
||||
exit 1
|
||||
fi
|
Reference in New Issue
Block a user