aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-08-01 10:16:30 +0000
committermerakor <cem@ckyln.com>2021-08-01 10:16:30 +0000
commita9ee119163b2cc74d73d31adfa12c919cb57c00e (patch)
treecf27a129a134237c9818a377c0deb123c8a74832
parent0cf76aa94dbdc6f675a46763fe4955a721b090f7 (diff)
downloadcpt-a9ee119163b2cc74d73d31adfa12c919cb57c00e.tar.gz
fix specs
FossilOrigin-Name: da307a73d917a15531fda60babb7948a5f64e3380cd56a5935e0662f660c6e08
-rw-r--r--spec/01_lib_spec.sh2
-rw-r--r--spec/02_src_spec.sh2
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