Merge af030423f3182f26b81b52d111c44730cb7b2abb into 7140cd416cecd7462a8aae488024abeee55598e4

This commit is contained in:
Sandeep Khamari 2026-06-11 19:28:11 +02:00 committed by GitHub
commit 9cc4b48f86
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -222,8 +222,10 @@ Verifies that *`val1`*`>=`*`val2`*.
The following assertions compare two **C strings**. To compare two `string`
objects, use [`EXPECT_EQ`](#EXPECT_EQ) or [`EXPECT_NE`](#EXPECT_NE) instead.
These assertions also accept wide C strings (`wchar_t*`). If a comparison of two
wide strings fails, their values will be printed as UTF-8 narrow strings.
EXPECT_STREQ and EXPECT_STRNE also accept wide C strings (wchar_t*).
Case-insensitive variants (EXPECT_STRCASEEQ and EXPECT_STRCASENE) currently
do not support wide C strings. If a comparison of two wide strings fails,
their values will be printed as UTF-8 narrow strings.
To compare a C string with `NULL`, use `EXPECT_EQ(`*`c_string`*`, nullptr)` or
`EXPECT_NE(`*`c_string`*`, nullptr)`.