This is trivial and easy to work around, so I expect you to necessarily do anything about this unless you feel like it 🙂
Oh and more context... as the workflow here is TDD, the exercise will always start with no code, and a need to write tests.
Plus I am wanting to encourage ppl asking for help here to be a bit more clear in what they re asking us, by providing a/some test(s) that demonstrate their requirements, and we can use to test our suggested solutions
We had a situation y/day where two of the three answers provided for a question were incorrect as the scope was articulated in a fairly woolly fashion. If we encouraged the questioner to ask in the form of a test, we'd all be on the same page.
Also I went on to experiment with the "accepted" answer, trying to refactor it slightly. It'd be great to be able to do red / green / refactor out of the box in trycf.com in these cases.