Skip to content

Commit fdabeb5

Browse files
committed
Line endings
1 parent af4b8c7 commit fdabeb5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/TypeScriptBuilder.Tests/TestHelpers/AssemblyTestData.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public string ReadString(string filename)
2323
{
2424
var bytes = ReadBytes(filename);
2525

26-
return Encoding.UTF8.GetString(bytes).Trim(new char[] { '\uFEFF', '\u200B' }); // Removes boom-chars
26+
return Encoding.UTF8.GetString(bytes).Trim(new char[] { '\uFEFF', '\u200B' }).Replace("\r\n","\r").Replace("\r","\r\n"); // Removes boom-chars
2727

2828
}
2929

0 commit comments

Comments
 (0)