Browse Source

Fix MSpec failures missing line numbers in Errors window.

pull/32/merge
Matt Ward 13 years ago
parent
commit
9b06797694
  1. 2
      src/AddIns/Analysis/MachineSpecifications/MachineSpecifications/src/MSpecUnitTestMonitor.cs

2
src/AddIns/Analysis/MachineSpecifications/MachineSpecifications/src/MSpecUnitTestMonitor.cs

@ -112,7 +112,7 @@ namespace ICSharpCode.MachineSpecifications @@ -112,7 +112,7 @@ namespace ICSharpCode.MachineSpecifications
if (TestFinished != null) {
foreach (TestResult result in testResults) {
if (!reportedResults.Contains(result.Name)) {
TestFinished(this, new TestFinishedEventArgs(result));
TestFinished(this, new TestFinishedEventArgs(new NUnitTestResult(result)));
reportedResults.Add(result.Name);
}
}

Loading…
Cancel
Save