MCPcopy Index your code
hub / github.com/kpdecker/jsdiff / stripSpace

Function stripSpace

test/patch/create.js:427–429  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

425
426 log('diffResult remove length: ' + removeCount);
427 function stripSpace(value) {
428 return value.replace(/s+/g, '');
429 }
430 expect(stripSpace(removeChanges.join(''))).to.equal(stripSpace(largeTest));
431 expect(stripSpace(addChanges.join(''))).to.equal(stripSpace(largeNewValue));
432 });

Callers 1

create.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected