Full framework

This commit is contained in:
Ben Adams
2017-11-13 12:14:24 +00:00
parent 5eb9c25574
commit f250bdef96
7 changed files with 84 additions and 35 deletions

View File

@@ -38,7 +38,7 @@ namespace Demystify
// Assert
var stackTrace = demystifiedException.ToString();
stackTrace = ReplaceLineEndings.Replace(stackTrace, "");
var trace = stackTrace.Split(Environment.NewLine)
var trace = stackTrace.Split(new[] { Environment.NewLine }, StringSplitOptions.None)
// Remove items that vary between test runners
.Where(s =>
s != " at void System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, object state)" &&