Show actual/expected count

This commit is contained in:
Marijn van der Werf 2016-08-28 20:03:53 +02:00
parent 8603f785e6
commit afd85a7df6
1 changed files with 1 additions and 1 deletions

View File

@ -346,7 +346,7 @@ bool testTrackElement(uint8 rideType, uint8 trackType, utf8string *error) {
if (newCallCount != oldCallCount) {
// TODO: array with errors?
sprintf(*error, "Call counts don't match [direction:%d trackSequence:%d]", direction, trackSequence);
sprintf(*error, "Call counts don't match (was %d, expected %d) [direction:%d trackSequence:%d]", newCallCount, oldCallCount, direction, trackSequence);
return false;
}