Why am I failing the first test?

Hi all!

As you can see in the image below, my code returns the right format, so why am I not passing the first test?

Thanks for your time


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Safari/537.36

Challenge: Arithmetic Formatter

Link to the challenge:

At a glance, it looks like you have extra spaces at the end of each line.

1 Like

You were correct, I made some changes and now I pass the tests

However I am interested in knowing how you saw this (I don’t yet know how to read where the errors are in failed tests, could you please show me using the screen capture as a reference?)

The red plus marks in the diff (bottom right of the screen) indicate something that is present but not expected.

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.