diff --git a/test/spec/FindReplace-test.js b/test/spec/FindReplace-test.js
index <HASH>..<HASH> 100644
--- a/test/spec/FindReplace-test.js
+++ b/test/spec/FindReplace-test.js
@@ -2303,7 +2303,7 @@ define(function (require, exports, module) {
                         var kgPath = SpecRunnerUtils.getTestPath("/spec/FindReplace-known-goods/" + options.inMemoryKGFolder + filePath),
                             kgFile = FileSystem.getFileForPath(kgPath);
                         return promisify(kgFile, "read").then(function (contents) {
-                            expect(doc.getText()).toEqual(contents);
+                            expect(doc.getText(true)).toEqual(contents);
                         });
                     }), "check in memory file contents");
                 });
Use original line endings when comparing in-memory doc to known goods in Replace in Files unit tests