mirror of
https://github.com/octoleo/hosts.git
synced 2024-11-21 12:25:14 +00:00
Add $_ERROR_PREFIX to test_helper.bash.
This commit is contained in:
parent
2f6290f3d4
commit
8f2553b5a3
@ -18,6 +18,9 @@ setup() {
|
||||
export _HOSTS_TEMP_PATH
|
||||
_HOSTS_TEMP_PATH="${_HOSTS_TEMP_DIR}/hosts"
|
||||
|
||||
export _ERROR_PREFIX
|
||||
_ERROR_PREFIX="$(tput setaf 1)!$(tput sgr0) "
|
||||
|
||||
cat "${BATS_TEST_DIRNAME}/fixtures/hosts" > "${_HOSTS_TEMP_PATH}"
|
||||
|
||||
export HOSTS_PATH="${_HOSTS_TEMP_PATH}"
|
||||
|
Loading…
Reference in New Issue
Block a user