aboutsummaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-07-18 11:14:19 +0000
committermerakor <cem@ckyln.com>2021-07-18 11:14:19 +0000
commitf607bcfe57dfd57e62dee4c8564c845e47ad52e4 (patch)
treeae20f99348e74a3f652c0d063e4a516caa1acdeb /spec
parent4d3a7455b536b7bf934561eb5ec187b1653aabb4 (diff)
downloadcpt-f607bcfe57dfd57e62dee4c8564c845e47ad52e4.tar.gz
fix unit tests
FossilOrigin-Name: 113136588471fd5a9c55819056dd6a12d81c17733d585f203cb4955b9a4f90b9
Diffstat (limited to 'spec')
-rw-r--r--spec/01_lib_spec.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/01_lib_spec.sh b/spec/01_lib_spec.sh
index 0ff2752..113d517 100644
--- a/spec/01_lib_spec.sh
+++ b/spec/01_lib_spec.sh
@@ -1,4 +1,5 @@
# shellcheck disable=2091,2034
+CPT_VERBOSE=1
Describe 'CPT Library'
export CPT_COLOR=0
@@ -161,7 +162,7 @@ Describe 'CPT Library'
End
It "doesn't log 'running hook' if no package is given"
When call run_hook 2 '' destination
- The stderr should eq ""
+ The stderr should eq "-> Running 2 hook "
The output should eq "$CPT_HOOK 2 null destination"
End
It "uses the /etc/cpt-hook file of the root when called with a fourth arg"