Skip to content

Commit 93f9979

Browse files
committed
Removed temporary debugging code.
1 parent a06cfc3 commit 93f9979

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

Tests/MarkdownTests.cs

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -12,40 +12,6 @@ namespace VSDoxyHighlighter.Tests
1212
[TestClass()]
1313
public class FragmentsMatcherMarkdownEmphasisAndStrikethroughTests
1414
{
15-
class FailFastTraceListener : DefaultTraceListener
16-
{
17-
public override void Fail(string message, string detailMessage)
18-
{
19-
var stderr = Console.OpenStandardError();
20-
using (var writer = new StreamWriter(stderr)) {
21-
writer.AutoFlush = true;
22-
23-
writer.WriteLine("Assertion failed");
24-
25-
if (!string.IsNullOrEmpty(message))
26-
writer.WriteLine(message);
27-
28-
if (!string.IsNullOrEmpty(detailMessage))
29-
writer.WriteLine(detailMessage);
30-
31-
writer.WriteLine();
32-
writer.WriteLine("Stack trace:");
33-
writer.WriteLine(new System.Diagnostics.StackTrace(true));
34-
}
35-
36-
Environment.FailFast(message);
37-
}
38-
}
39-
40-
41-
42-
[TestInitialize]
43-
public void TestInitialize()
44-
{
45-
Debug.Listeners.Clear();
46-
Debug.Listeners.Add(new FailFastTraceListener());
47-
}
48-
4915
private static List<Utils.FormattedFragmentText> FindFragments(string input)
5016
{
5117
var m = new FragmentsMatcherMarkdownEmphasisAndStrikethrough();

0 commit comments

Comments
 (0)