Originally, the closing curly brace and the closing parenthesis were on the same line, and that’s where the tests are expecting them to be. If you put them back then you will pass.
I understand that this shouldn’t make a difference, but if you want to make the tests happy then I would recommend that you not change anything that is already there unless you absolutely have to.
P.S. Just to be clear, the closing curly brace, closing parens, and join all need to be on the same line.