We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
${PWD}
$(pwd)
1 parent 5fc418e commit 8d1e802Copy full SHA for 8d1e802
test/plugins/base.plugin.bats
@@ -40,7 +40,7 @@ load ../../plugins/available/base.plugin
40
mkcd "${dir_name}"
41
assert_success
42
assert_dir_exist "${BASH_IT_ROOT}/${dir_name}"
43
- assert_equal $(pwd) "${BASH_IT_ROOT}/${dir_name}"
+ assert_equal "${PWD}" "${BASH_IT_ROOT}/${dir_name}"
44
}
45
46
@test 'plugins base: lsgrep()' {
test/run
@@ -6,7 +6,7 @@ git submodule init && git submodule update
6
7
if [ -z "${BASH_IT}" ]; then
8
declare BASH_IT
9
- BASH_IT=$(cd ${test_directory} && dirname "$(pwd)")
+ BASH_IT="$(cd "${test_directory}" && dirname "${PWD}")"
10
export BASH_IT
11
fi
12
0 commit comments