diff options
Diffstat (limited to 'tests/string_test.cpp')
-rw-r--r-- | tests/string_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/string_test.cpp b/tests/string_test.cpp index 8bfa9640e..fd2a78786 100644 --- a/tests/string_test.cpp +++ b/tests/string_test.cpp @@ -61,7 +61,7 @@ TEST(STRING_TEST, strerror) { // Invalid. ASSERT_STREQ("Unknown error -1", strerror(-1)); - ASSERT_STREQ("Unknown error 1234", strerror(1234)); + ASSERT_STREQ("Unknown error 134", strerror(EHWPOISON + 1)); } #if defined(__BIONIC__) |