mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-11 16:04:00 +00:00
linting
This commit is contained in:
9
tests-ng/uninstall-corner-cases.sh
vendored
9
tests-ng/uninstall-corner-cases.sh
vendored
@@ -26,15 +26,6 @@ echo -e "$(tput setaf 6)==> RUNNING $(basename "${BASH_SOURCE[0]}") <==$(tput sg
|
||||
################################################################
|
||||
# this is the test
|
||||
################################################################
|
||||
# $1 pattern
|
||||
# $2 path
|
||||
grep_or_fail()
|
||||
{
|
||||
if ! grep "${1}" "${2}" >/dev/null 2>&1; then
|
||||
echo "${PRE} pattern \"${1}\" not found in ${2}"
|
||||
exit 1
|
||||
fi
|
||||
}
|
||||
|
||||
# the dotfile source
|
||||
tmps=$(mktemp -d --suffix='-dotdrop-tests' || mktemp -d)
|
||||
|
||||
Reference in New Issue
Block a user