navi/test/core.sh
Denis Isidoro 1a111a97d6
Fix indentation (#8)
The code was indented using `dot code beautify`

Related: https://github.com/denisidoro/dotfiles
2019-09-20 20:08:13 -03:00

13 lines
No EOL
225 B
Bash

#!/usr/bin/env bash
source <(
grep -v 'main ' "${SCRIPT_DIR}/navi" | sed -E "s|export.*|export SCRIPT_DIR=\"${SCRIPT_DIR}\"|")
test::success() {
echo "Test passed!"
}
test::fail() {
echo "Test failed..."
exit 42
}