Commit 9f4dea47 authored by Nick Craver's avatar Nick Craver

What the hell is that static doing there?!?@, #$MRI#FMQO:wqefoQ@#<:w

fuuuuuuuuuuuuuuuuuu
parent b82caefa
...@@ -106,7 +106,7 @@ protected void OnInternalError(object sender, InternalErrorEventArgs e) ...@@ -106,7 +106,7 @@ protected void OnInternalError(object sender, InternalErrorEventArgs e)
private static AsyncLocal<int> sharedFailCount = new AsyncLocal<int>(); private static AsyncLocal<int> sharedFailCount = new AsyncLocal<int>();
private volatile int expectedFailCount; private volatile int expectedFailCount;
private static readonly List<string> privateExceptions = new List<string>(); private readonly List<string> privateExceptions = new List<string>();
private static readonly List<string> backgroundExceptions = new List<string>(); private static readonly List<string> backgroundExceptions = new List<string>();
public void ClearAmbientFailures() public void ClearAmbientFailures()
...@@ -167,7 +167,7 @@ public void Teardown() ...@@ -167,7 +167,7 @@ public void Teardown()
Output.WriteLine(item); Output.WriteLine(item);
} }
} }
Assert.True(false, $"There were {privateFailCount} private and {sharedFailCount} ambient exceptions; expected {expectedFailCount}."); Assert.True(false, $"There were {privateFailCount} private and {sharedFailCount.Value} ambient exceptions; expected {expectedFailCount}.");
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment