[libc-commits] [libc] [RFC][libc] shut up passing tests (PR #117253)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Wed Dec 4 09:04:05 PST 2024
================
@@ -21,7 +21,7 @@ TEST(LlvmLibcMemChrTest, FindsCharacterAfterNullTerminator) {
const size_t size = 5;
const unsigned char src[size] = {'a', '\0', 'b', 'c', '\0'};
// Should return 'b', 'c', '\0' even when after null terminator.
- ASSERT_STREQ(call_memchr(src, 'b', size), "bc");
+ ASSERT_STREQ(call_memchr(src, 'b', size), "b");
----------------
nickdesaulniers wrote:
done PTAL
https://github.com/llvm/llvm-project/pull/117253
More information about the libc-commits
mailing list