When evaluated, I'd expect for this expression to produce the following output:
%doo
'%foo'
should equal
'%ioo'
What I'm getting instead is this:
0oo
'NaNoo'
should equal
'NaNoo'
Now I'm guessing this has to do with format placeholders, but I'm fairly sure that any such substitution should only be performed once (so that it does not affect the inserted text).
Edit: checked o.spec("%foo", () => o("%foo", () => {/* … */})) – these strings are also affected.
Suppose I have a test like this:
When evaluated, I'd expect for this expression to produce the following output:
What I'm getting instead is this:
Now I'm guessing this has to do with format placeholders, but I'm fairly sure that any such substitution should only be performed once (so that it does not affect the inserted text).
Edit: checked
o.spec("%foo", () => o("%foo", () => {/* … */}))
– these strings are also affected.