diff --git a/test/core/utils/VersionTest.cpp b/test/core/utils/VersionTest.cpp index 562259d..82f4dac 100644 --- a/test/core/utils/VersionTest.cpp +++ b/test/core/utils/VersionTest.cpp @@ -58,5 +58,5 @@ TEST_CASE("Test version parsing", "[version][parse]") { const auto v3 = version::from_string("a.b.c"); REQUIRE(v3.is_error()); - REQUIRE(v3.err().message() == "Invalid version string"); + REQUIRE(v3.err().error_code() == "Invalid version string"); }