Skip to content

Incorrect answer passed in from_into.rs #2225

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

Open
Kyant0 opened this issue Mar 26, 2025 · 0 comments
Open

Incorrect answer passed in from_into.rs #2225

Kyant0 opened this issue Mar 26, 2025 · 0 comments

Comments

@Kyant0
Copy link

Kyant0 commented Mar 26, 2025

I used split_once to split string by comma into two parts. I didn't check the situation where N ≥ 3. The tests were surprisingly passed!

I think the tests aren't good enough and not thorough to test the condition that N ≥ 3. But the following test is well-done as it ensures the error type correct.

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

No branches or pull requests

1 participant