From f607bcfe57dfd57e62dee4c8564c845e47ad52e4 Mon Sep 17 00:00:00 2001 From: merakor Date: Sun, 18 Jul 2021 11:14:19 +0000 Subject: fix unit tests FossilOrigin-Name: 113136588471fd5a9c55819056dd6a12d81c17733d585f203cb4955b9a4f90b9 --- spec/01_lib_spec.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spec') 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" -- cgit v1.2.3