[KMTEST] Improve test output
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 3 Apr 2016 14:05:58 +0000 (14:05 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 3 Apr 2016 14:05:58 +0000 (14:05 +0000)
svn path=/trunk/; revision=71094

rostests/kmtests/rtl/RtlSplayTree.c

index 1e4b739..db0e32a 100644 (file)
@@ -60,7 +60,9 @@ static void RtlSplayTreeTest()
              sizeof(Text[i]),
              &WasNew);
         ok(Ch && *Ch == Text[i], "Copy character into node\n");
              sizeof(Text[i]),
              &WasNew);
         ok(Ch && *Ch == Text[i], "Copy character into node\n");
-        ok(WasNew == (NewE[i] == '1'), "Character newness didn't match\n");
+        ok(WasNew == (NewE[i] == '1'),
+           "Character newness didn't match for char %u: '%c'\n",
+           i, Text[i]);
     }
     for (Ch = (PCHAR)RtlEnumerateGenericTable(&Table, TRUE), i = 0;
          Ch;
     }
     for (Ch = (PCHAR)RtlEnumerateGenericTable(&Table, TRUE), i = 0;
          Ch;