Correct: Fuse error count + expected versus actual register checking.

Signed-off-by: Adrian Conlon <Adrian.conlon@gmail.com>
This commit is contained in:
Adrian Conlon 2019-08-15 17:24:26 +01:00
parent 6c20f49c05
commit 9ca85428e0
1 changed files with 6 additions and 4 deletions

View File

@ -126,12 +126,12 @@ namespace Fuse
if (expectedHigh != actualHigh)
{
DumpDifference(highDescription, actualHigh, expectedHigh);
DumpDifference(highDescription, expectedHigh, actualHigh);
}
if (expectedLow != actualLow)
{
DumpDifference(lowDescription, actualLow, expectedLow);
DumpDifference(lowDescription, expectedLow, actualLow);
}
}
@ -410,8 +410,10 @@ namespace Fuse
this.DumpActualEvents();
}
this.Failed = eventFailure;
if (!this.Failed)
{
this.Failed = eventFailure;
}
}
private void DumpExpectedEvents()