diff options
author | Abseil Team <absl-team@google.com> | 2021-03-30 10:56:54 -0700 |
---|---|---|
committer | Andy Getz <durandal@google.com> | 2021-03-30 14:51:45 -0400 |
commit | d9a31a2d440f33aa40d88b3b8a98f4c19ffaa182 (patch) | |
tree | da98c95a76db2b324e2b61be99d76f0597e6d2b1 /absl/status | |
parent | 9fde5a6eb081ea080f5aa895102a9154c3a2d09f (diff) |
Export of internal Abseil changes
--
45c3adace0020bb705e04d254f7b3f914d2ba2e6 by Abseil Team <absl-team@google.com>:
Cleanup CordRepRing unit tests
PiperOrigin-RevId: 365848947
--
3d16aae1a4a20666151d8a5ebfd48a2777053b75 by Derek Mauro <dmauro@google.com>:
Internal change
PiperOrigin-RevId: 365830995
--
298f2de7061f21fb94b4bc715bbadef37732d1fa by Derek Mauro <dmauro@google.com>:
Internal change
PiperOrigin-RevId: 365830862
--
540c6f4b8f4443d3bb969e566761760813b17545 by Derek Mauro <dmauro@google.com>:
Upgrade MacOS CI to use Bazel 3.7.0
PiperOrigin-RevId: 365825990
--
8b09ef04a1061038a982c3ff29dc7c8a28364f5f by Abseil Team <absl-team@google.com>:
internal change
PiperOrigin-RevId: 365819242
GitOrigin-RevId: 45c3adace0020bb705e04d254f7b3f914d2ba2e6
Change-Id: I3b2bebd212a41d0c0dda56fefb455240408cc461
Diffstat (limited to 'absl/status')
-rw-r--r-- | absl/status/status_test.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/absl/status/status_test.cc b/absl/status/status_test.cc index 0e1a43ce..1b038f6d 100644 --- a/absl/status/status_test.cc +++ b/absl/status/status_test.cc @@ -36,7 +36,9 @@ TEST(StatusCode, InsertionOperator) { // its creator, and its classifier. struct ErrorTest { absl::StatusCode code; - using Creator = absl::Status (*)(absl::string_view); + using Creator = absl::Status (*)( + absl::string_view + ); using Classifier = bool (*)(const absl::Status&); Creator creator; Classifier classifier; @@ -78,7 +80,9 @@ TEST(Status, CreateAndClassify) { // expected error code and message. std::string message = absl::StrCat("error code ", test.code, " test message"); - absl::Status status = test.creator(message); + absl::Status status = test.creator( + message + ); EXPECT_EQ(test.code, status.code()); EXPECT_EQ(message, status.message()); |