Is that extra space at the very end causing problems? Spaces are part of the string. So if the string is supposed to end after the period then having an extra space there will cause the test to fail.
Don’t know what to tell you then. I pasted in your original code and it did not pass. I removed the extra space from the end of the second string and then it passed. That is the issue that is keeping you from passing.
Please paste in your current code so we can see exactly what you are doing.