summaryrefslogtreecommitdiffstats
path: root/tests/string_test.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-01-10 16:24:36 -0800
committerGerrit Code Review <noreply-gerritcodereview@google.com>2013-01-10 16:24:36 -0800
commitbfde0b6fd9e5de545746ab963d3a05ed2a8014f6 (patch)
tree41de4f1d0cf5cec9fa72c4ad6d0fed5bf1b00329 /tests/string_test.cpp
parent0d3700d957debe841c385f66a8026ca8b3755815 (diff)
parente6e60065ff093ff8c859ab146cf543531cb1967c (diff)
downloadbionic-bfde0b6fd9e5de545746ab963d3a05ed2a8014f6.zip
bionic-bfde0b6fd9e5de545746ab963d3a05ed2a8014f6.tar.gz
bionic-bfde0b6fd9e5de545746ab963d3a05ed2a8014f6.tar.bz2
Merge "glibc 2.15 treats errno as signed in strerror(3)."
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 71998d8..d55771c 100644
--- a/tests/string_test.cpp
+++ b/tests/string_test.cpp
@@ -39,7 +39,7 @@ TEST(string, strerror) {
ASSERT_STREQ("Operation not permitted", strerror(1));
// Invalid.
- ASSERT_STREQ("Unknown error 4294967295", strerror(-1));
+ ASSERT_STREQ("Unknown error -1", strerror(-1));
ASSERT_STREQ("Unknown error 1234", strerror(1234));
}