Missing single and double quote tests for Build your own shell: C/C++

I think a test is missing in the test suite.

Ex: echo hello’'world
Ex: echo hello""world

My ZSH shell outputs helloworld for both of the above examples. However, my custom shell, which is passing all of the single and double quote tests, outputs hello’'world and hello""world respectively.

Hey, if you are on the echo builtin stage (#iz3), then ignore this for now, as quotes are handled in the quoting extension.
If you are not, it still causes an error in my program using the command echo hello’'world. I found out after seeing your comment, so i just wrote some exception code to handle this, but the project itself does not provide any case in this specific scenario.

Hey @mananm12, we’ve updated the test cases in this PR. Thanks again for the suggestion!

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