You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
...
AssertionError: expected '\n' to equal '\n'
...
where the line terminator is escaped, but the backslash is NOT
so I grep around a bit in chai, and see this kind of thing: 129: , 'expected #{this} to equal #{exp}'
alright, so there's some home-grown string interpolation, seems promising, I keep following this..
This is causing misleading assertion messages on codewars.com whom I do not represent, but that's where I'm coming from:
TLDR:
'\n'
and'\\n'
are represented the same. the rest of this poorly formatted post is just showing my work, hopefully that works for you.part of output:
where the line terminator is escaped, but the backslash is NOT
so I grep around a bit in chai, and see this kind of thing:
129: , 'expected #{this} to equal #{exp}'
alright, so there's some home-grown string interpolation, seems promising, I keep following this..
... keep following into loupe (now leaving chai)
alright, let me try that regex
so I'm guessing that's it.
and then trying just loupe by itself:
yeah.
The text was updated successfully, but these errors were encountered: