fixed VersionTest.cpp
This commit is contained in:
@@ -58,5 +58,5 @@ TEST_CASE("Test version parsing", "[version][parse]") {
|
|||||||
|
|
||||||
const auto v3 = version::from_string("a.b.c");
|
const auto v3 = version::from_string("a.b.c");
|
||||||
REQUIRE(v3.is_error());
|
REQUIRE(v3.is_error());
|
||||||
REQUIRE(v3.err().message() == "Invalid version string");
|
REQUIRE(v3.err().error_code() == "Invalid version string");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user