[TEST] Fix problem with line separator on windows

This commit is contained in:
Dmitriy Novozhilov
2020-12-17 00:33:10 +03:00
parent f2fa36f9cb
commit 8974d31bb8
@@ -257,7 +257,7 @@ class ModuleStructureExtractorImpl(
filesOfCurrentModule.add(
TestFile(
relativePath = filename,
originalContent = linesOfCurrentFile.joinToString(separator = System.lineSeparator(), postfix = System.lineSeparator()),
originalContent = linesOfCurrentFile.joinToString(separator = "\n", postfix = "\n"),
originalFile = currentTestDataFile,
startLineNumberInOriginalFile = startLineNumberOfCurrentFile,
isAdditional = false