(actual, expected, checkCommaDisparity)
| 22 | }; |
| 23 | |
| 24 | function areLinesEqual(actual, expected, checkCommaDisparity) { |
| 25 | if (actual === expected) { |
| 26 | return true; |
| 27 | } |
| 28 | if (checkCommaDisparity) { |
| 29 | return (actual + ',') === expected || actual === (expected + ','); |
| 30 | } |
| 31 | return false; |
| 32 | } |
| 33 | |
| 34 | function myersDiff(actual, expected, checkCommaDisparity = false) { |
| 35 | const actualLength = actual.length; |
no outgoing calls
no test coverage detected
searching dependent graphs…