From 2dbd9ec3efae8a3814e6bece0f7ed45038c30380 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Thu, 18 Oct 2018 10:08:48 +0200 Subject: Fix version range not ending at next major version when not defining end --- tests/src/confTest/confTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/src/confTest') 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()) -- cgit v1.2.3