()
| 202 | // the insert at 5 leaves the chunk search past the removed range, so the |
| 203 | // lookup for a match inside it has to walk backwards to find it |
| 204 | const create = () => new MagicString('000----').remove(0, 3).appendLeft(5, '!') |
| 205 | |
| 206 | assert.strictEqual(create().replaceAll('0', '1').toString(), '--!--') |
| 207 | assert.strictEqual(create().replaceAll(/0/g, '1').toString(), '--!--') |
no test coverage detected