Faulty test cases

I’ve run across so many sections that can only pass with exact code when there are many ways to be syntacticly correct. Its not helpful to have to copy the syntax exactly especially when the error is something like a space between the key word function and the parens. Give me a break. In this case space provides for better readability of code. since the change over there are many more good teaching paths but the build is definitely poorer. I don’t need this but some do and when your trying to learn something new and you have the right answer but you’re failing an exercise because the test are strict to an exact syntax in a solution down to the spacing???