aboutsummaryrefslogtreecommitdiff
path: root/tests/src/confTest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/src/confTest')
-rw-r--r--tests/src/confTest/confTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/confTest/confTest.cpp b/tests/src/confTest/confTest.cpp
index 8dab691..a86dbb3 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 == "0.1.0");
+ REQUIRE(xxhashDependency->version.toString() == ">=0.1.0");
const auto &catch2Dependency = sibsConfig.getPackageListDependencies()[1]->asPackageListDependency();
REQUIRE(catch2Dependency->name == "catch2");
- REQUIRE(catch2Dependency->version == "1.0.0");
+ REQUIRE(catch2Dependency->version.toString() == ">=1.0.0");
REQUIRE(sibsConfig.getGitDependencies().size() == 1);
for(auto *dep : sibsConfig.getGitDependencies())