I’m stuck on Stage #JM9.
did anyone face the following problem?
it seems like the judge only checks the last line of git cat-file commit and checks for the commit message and it requires it to “dooby monkey vanilla dooby horsey dooby\n” and the problem is: if I put a ‘\n’ at the end of the commit message, then the last line is an empty “” line so it doesn’t match. if I commit the newline at the end of the commit message, then the commit message won’t match the expected string.
error message when I put the \n at the end: Expected “dooby monkey vanilla dooby horsey dooby\n” as commit message, got: “”
error message when I don’t: Expected “monkey horsey monkey doo doo vanilla\n” as commit message, got: “monkey horsey monkey doo doo vanilla”