(lineNumber, line, operation, patchContent)
| 1349 | + ' line5\n', |
| 1350 | { |
| 1351 | compareLine(lineNumber, line, operation, patchContent) { |
| 1352 | expect(lineNumber).to.be.a('number'); |
| 1353 | if (lineNumber === 2) { |
| 1354 | expect(line).to.equal('line2'); |
| 1355 | expect(operation).to.equal(' '); |
| 1356 | expect(patchContent).to.equal('line3'); |
| 1357 | } |
| 1358 | |
| 1359 | return true; |
| 1360 | } |
| 1361 | })) |
| 1362 | .to.equal( |
| 1363 | 'line2\n' |