[libc-commits] [libc] [libc] fix behavior of strrchr(x, '\0') (PR #112620)
George Burgess IV via libc-commits
libc-commits at lists.llvm.org
Wed Oct 30 09:58:34 PDT 2024
gburgessiv wrote:
Oh, I didn't realize that I missed this:
> I thought the nice thing about ASSERT_EQ or in this case ASSERT_STREQ is that when the assertion fails, it tells you what was expected vs what was observed (i.e. NULL vs 'a') rather than expected true, saw false? I think that kind of behavior is nice to retain.
My mistake - I'll see what I can do :)
https://github.com/llvm/llvm-project/pull/112620
More information about the libc-commits
mailing list