From afd85a7df62926a95d134b006ad5efeec20e04b4 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Sun, 28 Aug 2016 20:03:53 +0200 Subject: [PATCH] Show actual/expected count --- PaintTest/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PaintTest/main.c b/PaintTest/main.c index 7680e9dcfb..1f9b3a4028 100644 --- a/PaintTest/main.c +++ b/PaintTest/main.c @@ -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; }