summaryrefslogtreecommitdiff
path: root/tests/string_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/string_test.cpp')
-rw-r--r--tests/string_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/string_test.cpp b/tests/string_test.cpp
index 3f7d50019..08c73a1aa 100644
--- a/tests/string_test.cpp
+++ b/tests/string_test.cpp
@@ -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);