diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-10-18 10:08:48 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:33 +0200 |
commit | 2dbd9ec3efae8a3814e6bece0f7ed45038c30380 (patch) | |
tree | 06a4e2da2eb290315ce859933f88db97793ead27 /tests/src/confTest | |
parent | c2b6468835b6174ce6474910fc488931dfd003a4 (diff) |
Fix version range not ending at next major version when not defining end
Diffstat (limited to 'tests/src/confTest')
-rw-r--r-- | tests/src/confTest/confTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/confTest/confTest.cpp b/tests/src/confTest/confTest.cpp index a86dbb3..ec8a563 100644 --- a/tests/src/confTest/confTest.cpp +++ b/tests/src/confTest/confTest.cpp @@ -26,11 +26,11 @@ TEST_CASE("parse config") } auto *xxhashDependency = sibsConfig.getPackageListDependencies()[0]->asPackageListDependency(); REQUIRE(xxhashDependency->name == "xxhash"); - REQUIRE(xxhashDependency->version.toString() == ">=0.1.0"); + REQUIRE(xxhashDependency->version.toString() == ">=0.1.0 and <1.0.0"); const auto &catch2Dependency = sibsConfig.getPackageListDependencies()[1]->asPackageListDependency(); REQUIRE(catch2Dependency->name == "catch2"); - REQUIRE(catch2Dependency->version.toString() == ">=1.0.0"); + REQUIRE(catch2Dependency->version.toString() == ">=1.0.0 and <2.0.0"); REQUIRE(sibsConfig.getGitDependencies().size() == 1); for(auto *dep : sibsConfig.getGitDependencies()) |