Skip to content

Commit

Permalink
[sanitizer] Fix typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Oct 12, 2021
1 parent 28e648b commit 0e0d3b3
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -95,7 +95,7 @@ TEST(SanitizerCommon, StackDepotPrintNoLock) {
idx2id[i] = StackDepotPut(s);
}
StackDepotPrintAll();
for (u32 i = 1; i < n; ++i) {
for (u32 i = 0; i < n; ++i) {
uptr array[] = {0x111, 0x222, i, 0x444, 0x777};
StackTrace s(array, ARRAY_SIZE(array));
CHECK_EQ(idx2id[i], StackDepotPut(s));
Expand Down

0 comments on commit 0e0d3b3

Please sign in to comment.