am b59e358b: Merge "fix strerror_r test"
* commit 'b59e358bb902124cc7d648266a97f96beefc8142': fix strerror_r test
This commit is contained in:
commit
d29c9fc188
@ -77,7 +77,7 @@ TEST(string, strerror_r) {
|
||||
|
||||
// Invalid.
|
||||
ASSERT_EQ(0, strerror_r(-1, buf, sizeof(buf)));
|
||||
ASSERT_STREQ("Unknown error 4294967295", buf);
|
||||
ASSERT_STREQ("Unknown error -1", buf);
|
||||
ASSERT_EQ(0, strerror_r(1234, buf, sizeof(buf)));
|
||||
ASSERT_STREQ("Unknown error 1234", buf);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user