We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The test
TEST_CASE("semver::from_string", "[demo]") { using namespace semver; // auto version = semver::from_string("1.0.0"); // SUCCEEDS auto version = semver::from_string("1.0"); // FAILS REQUIRE(version == "1.0.0"_version); }
fails with an exception
semver::version::from_string invalid version.
It is quite common to omit the patch version. So the from_string/from_chars function pair should be robust against the omission and add .0.
from_string
from_chars
.0
The text was updated successfully, but these errors were encountered:
1.0 is not technically a valid semver for what it's worth
1.0
Sorry, something went wrong.
No branches or pull requests
The test
fails with an exception
It is quite common to omit the patch version. So the
from_string
/from_chars
function pair should be robust against the omission and add.0
.The text was updated successfully, but these errors were encountered: