Avoid clashing fixture version

This commit is contained in:
Ettore Di Giacinto
2021-01-03 23:56:49 +01:00
parent 2cbf547873
commit 11df314a26
2 changed files with 3 additions and 3 deletions

View File

@@ -1,3 +1,3 @@
category: test
name: "a"
version: "1.0"
version: "1.99"

View File

@@ -15,8 +15,8 @@ testBuildA() {
luet build --tree "$ROOT_DIR/tests/fixtures/virtuals" --debug --compression "gzip" --destination $tmpdir/testbuild1 test/a
buildst=$?
assertEquals 'builds successfully' "$buildst" "0"
assertTrue 'create package A 1.0' "[ -e '$tmpdir/testbuild1/a-test-1.0.package.tar.gz' ]"
assertTrue 'create package A 1.0' "[ -e '$tmpdir/testbuild1/a-test-1.0.metadata.yaml' ]"
assertTrue 'create package A 1.99' "[ -e '$tmpdir/testbuild1/a-test-1.99.package.tar.gz' ]"
assertTrue 'create package A 1.99' "[ -e '$tmpdir/testbuild1/a-test-1.99.metadata.yaml' ]"
}
testBuildB() {