From a9ee119163b2cc74d73d31adfa12c919cb57c00e Mon Sep 17 00:00:00 2001 From: merakor Date: Sun, 1 Aug 2021 10:16:30 +0000 Subject: fix specs FossilOrigin-Name: da307a73d917a15531fda60babb7948a5f64e3380cd56a5935e0662f660c6e08 --- spec/01_lib_spec.sh | 2 +- spec/02_src_spec.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'spec') diff --git a/spec/01_lib_spec.sh b/spec/01_lib_spec.sh index 113d517..b56ac32 100644 --- a/spec/01_lib_spec.sh +++ b/spec/01_lib_spec.sh @@ -14,7 +14,7 @@ Describe 'CPT Library' VERSION=$(sed -n '/VERSION/s/.* //gp' config.mk) It 'prints version information' When run script src/cpt-lib version - The stderr should eq "-> Carbs Packaging Tools $VERSION" + The line 1 of stdout should eq "Carbs Packaging Tools, version $VERSION" End End Describe 'text functions' diff --git a/spec/02_src_spec.sh b/spec/02_src_spec.sh index 4685ec1..be81775 100644 --- a/spec/02_src_spec.sh +++ b/spec/02_src_spec.sh @@ -13,7 +13,7 @@ Describe 'Main toolchain' VERSION=$(sed -n '/VERSION/s/.* //gp' config.mk) It 'outputs cpt version' When run script src/cpt --version - The stderr should eq "-> Carbs Packaging Tools $VERSION" + The line 1 of stdout should eq "Carbs Packaging Tools, version $VERSION" End End -- cgit v1.2.3