提交 bcfa37ac 编写于 作者: T Tomas Matousek

Remove EOLN check from MarkupTestFile

上级 d19f4e95
......@@ -45,11 +45,6 @@ public static class MarkupTestFile
private static void Parse(string input, out string output, out int? position, out IDictionary<string, IList<TextSpan>> spans)
{
if (input.Contains("\n") && !input.Contains("\r\n"))
{
throw new ArgumentException("Shouldn't pass stuff with bad line endings!");
}
position = null;
spans = new Dictionary<string, IList<TextSpan>>();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册