Fixes #18353: Always respect the shouldIgnoreTrimWhitespace flag

This commit is contained in:
Alex Dima
2017-12-18 18:28:50 +01:00
parent 14057a645f
commit d9c9e8ddfd
3 changed files with 0 additions and 27 deletions
@@ -55,7 +55,6 @@ function assertDiff(originalLines: string[], modifiedLines: string[], expectedCh
var diffComputer = new DiffComputer(originalLines, modifiedLines, {
shouldPostProcessCharChanges: shouldPostProcessCharChanges || false,
shouldIgnoreTrimWhitespace: shouldIgnoreTrimWhitespace || false,
shouldConsiderTrimWhitespaceInEmptyCase: true,
shouldMakePrettyDiff: true
});
var changes = diffComputer.computeDiff();