Skip to content

Bug in "Series" side exercise test? #671

@mboersma

Description

@mboersma

The first test case to the "Series" side exercise expects a Vector of six empty strings to be returned for the input "92017" and length 0.

How can this be the expected output from a five-digit input? The exercise doesn't specify behavior when the substring length is 0--I would have expected an empty Vector to be returned in this case. Or maybe a Vector of 5 empty strings.

I don't see any tests specifying substring length 0 for the same exercise in the Go track. I think this test case is wrong, or else I'm missing something.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions