public void HugeFile() { string source = "Text" + new string('\n', HugeLineCount); SingleFileTest.AssertGlobalWarning(source, WarningIDs.HugeMarkdownFile, $"{HugeLineCount} >= {HugeLineCount}"); source = "Text" + new string('\n', HugeLineCount * 2); SingleFileTest.AssertGlobalWarning(source, WarningIDs.HugeMarkdownFile, $"{HugeLineCount * 2} >= {HugeLineCount}"); }
public void EmptyFile_WhiteSpaceAndNewLines() { SingleFileTest.AssertGlobalWarning(" \n \n \n ", WarningIDs.EmptyMarkdownFile); }
public void EmptyFile_NewLinesOnly() { SingleFileTest.AssertGlobalWarning(new string('\n', 5), WarningIDs.EmptyMarkdownFile); }
public void EmptyFile_WhitespaceOnly() { SingleFileTest.AssertGlobalWarning(new string(' ', 5), WarningIDs.EmptyMarkdownFile); }
public void EmptyFile() { SingleFileTest.AssertGlobalWarning(string.Empty, WarningIDs.EmptyMarkdownFile); }