Closed KrekoG closed 7 years ago
@EricJFisher Hi there, I created this PR to fix an issue described above. Can I expect an action to be taken in the close future or should I close it?
My apologies for overlooking this, I'll look into your pull request as soon as I can.
Okay, checked it out and looks good, sorry again for this being overlooked.
The original test empties the class list of the code element it is testing, then checks for the ' failure' string. This gives a false negative result if the coder creates their solution using jQuery, as jQuery does not add the space unless there is another class already present.
With this fix, both vanilla and jQuery solutions would be tested correctly.