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

Add missing tests for number parsing #1769

Merged
merged 3 commits into from
Dec 8, 2024
Merged

Add missing tests for number parsing #1769

merged 3 commits into from
Dec 8, 2024

Conversation

CXWorks
Copy link
Contributor

@CXWorks CXWorks commented Jul 18, 2024

Hi,

Thanks for your time & patience to review this PR.

We are researchers focusing on Rust unit tests, we revised our tool for better readability. By examine the existing code, we found several unit tests can be added to improve the repo's overall unit test coverage(this project is already been well tested).

Thanks again for your time.

@CXWorks CXWorks requested a review from Geal as a code owner July 18, 2024 00:03
tests/float.rs Show resolved Hide resolved
epage added a commit to epage/winnow that referenced this pull request Jul 18, 2024
Pulled from rust-bakery/nom#1769

I skipped the float ones because I didn't feel like adapting them to the
`binary` mod.
Copy link

codspeed-hq bot commented Jul 26, 2024

CodSpeed Performance Report

Merging #1769 will improve performances by 13.57%

Comparing CXWorks:main (4a107b8) with main (fcc9f16)

Summary

⚡ 1 improvements
✅ 23 untouched benchmarks

Benchmarks breakdown

Benchmark main CXWorks:main Change
number 244.2 ns 215 ns +13.57%

@Geal Geal merged commit 5281128 into rust-bakery:main Dec 8, 2024
17 checks passed
@Geal
Copy link
Collaborator

Geal commented Dec 8, 2024

Thank you! New tests always help!

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.

4 participants