diff options
Diffstat (limited to 'absl/base/internal/strerror_test.cc')
-rw-r--r-- | absl/base/internal/strerror_test.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/absl/base/internal/strerror_test.cc b/absl/base/internal/strerror_test.cc index e32d5b5c..2eccde77 100644 --- a/absl/base/internal/strerror_test.cc +++ b/absl/base/internal/strerror_test.cc @@ -39,7 +39,9 @@ TEST(StrErrorTest, ValidErrorCode) { TEST(StrErrorTest, InvalidErrorCode) { errno = ERANGE; EXPECT_THAT(absl::base_internal::StrError(-1), - AnyOf(Eq("No error information"), Eq("Unknown error -1"))); + AnyOf(Eq("No error information"), + Eq("Unknown error -1"), + Eq("Error in unknown error system: FFFFFFFF"))); EXPECT_THAT(errno, Eq(ERANGE)); } |