In Rust for the #YT5 tests to pass I had to implement the next two stages. That seemed obvious looking at the test logs as the test is sending double quoted string with escape characters, which are not supposed to be implemented at this time but in the next stage.
I believe this test should be fixed to avoid relying on future behavior.
Would you mind sharing a bit more about the issue you ran into on stage #YT5 (Backslash outside quotes)? In particular, which test case made you implement the next two stages as well? Thanks!
Just for reference, here’s what the tests for stage #YT5 look like:
It failed with my code because to implement “Backslash outside quotes” I had not yet implemented the double quoted string behavior, but not with the same default as expected in the test. In my implementation backslash was just ignored at that stage when inside double quoted string as anywhere else. As nothing was told about the expected behavior inside quoted string I thought it was as good an option as any.
I believe you should either fix the test suite like: cat /tmp/bee/f\\n45 /tmp/bee/f\\36 /tmp/bee/f’\\’38 or state in the “Backslash Outside quotes” stage statement that the backslash must be treated as is and sent in the string when inside quotes. I prefer the first option but either way would be okay.