Skip to content
New issue

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

Adding missed unit test cases #299

Merged
merged 1 commit into from
Sep 22, 2023
Merged

Adding missed unit test cases #299

merged 1 commit into from
Sep 22, 2023

Conversation

CXWorks
Copy link

@CXWorks CXWorks commented Jun 27, 2023

Hi,

Thanks for your time & patience to review this PR.

We are researchers focusing on Rust unit tests. By examine the existing code, we found following unit tests can be added to improve the repo's overall unit test coverage.
We only manually changed our assert statements to make it consistent with existing macros and move the error tests to its correct location.
As for the unit tests, we found the from_str method for Comparator & Prerelease struct are rarely tested and there are many corner error cases in Version/VersionSeq are missed.
If you have any questions, comments or feedback, please let us know.

Thanks!

@CXWorks CXWorks changed the title Add missed unit test cases Adding missed unit test cases Jul 26, 2023
Copy link
Owner

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dtolnay dtolnay merged commit 473209f into dtolnay:master Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants