Skip to content

Incorrect answer passed in from_into.rs #2225

@Kyant0

Description

@Kyant0

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions