Files
dotify/test/test-helper.sh

16 lines
251 B
Bash

# Set testroot variable.
testroot="$(dirname "$BASH_SOURCE")"
# Include assert.sh testing library.
source "$testroot/assert.sh"
source "$testroot/stub.sh"
#
# Additional test helpers.
#
# Silent shortcut to "cd -".
cd-back() {
cd - 1>/dev/null
}