diff options
-rw-r--r-- | spec/01_lib_spec.sh | 2 | ||||
-rw-r--r-- | spec/02_src_spec.sh | 2 |
2 files changed, 2 insertions, 2 deletions
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 |