Two things:
-
Don’t add a
for
attribute on thelabel
. You are correct that it does need one, but you are jumping the gun here. You will add it in the next step. The tests don’t like it that you are adding it early -
The tests want an actual “return” in there, not a
\n
. It shouldn’t make a difference, and personally, I would use a\n
here as well. But if you want to make the tests happy then get rid of the\n
and put an actual return in there.
Also, I see that someone has already opened a github issue for this return bug. So this should be fixed soon.