Backslash outside quotes #YT5 - Extra space in a test output

Hello!

There is either an error in the test or I am misunderstanding the logic here.

In the input echo "example hello" "script""world" there are two spaces between “example hello” and “script”. Since the double space takes place outside of the quotation marks in the output there should be just one. But the expected output of the test still has 2.

Am I missing something or is there an error in the test?

Thanks!

Here is the output I get if I run the command in my terminal

@andy1li it’d be great if you can have a look. thanks :pray:

Hi @hereisk, you’re absolutely right. There should be only one space between hello and scriptworld in the expected output, which is exactly what our tester expects (green):

The test case is failing because the tester actually received two spaces instead (red).

Let me know if you’d like me to take a look at your code to troubleshoot the issue.

1 Like

I am not sure where I was looking. Sorry. And thank you

1 Like

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