[msan] Fix a typo in test.

llvm-svn: 177059
This commit is contained in:
Evgeniy Stepanov 2013-03-14 11:58:13 +00:00
parent 963be1ddd8
commit 4062a396c7
1 changed files with 1 additions and 1 deletions

View File

@ -670,7 +670,7 @@ TEST(MemorySanitizer, strndup_short) {
char *x = strndup(buf, 2);
EXPECT_NOT_POISONED(x[0]);
EXPECT_POISONED(x[1]);
EXPECT_NOT_POISONED(x[3]);
EXPECT_NOT_POISONED(x[2]);
free(x);
}