about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAbseil Team <absl-team@google.com>2019-09-04T02·09-0700
committerGennadiy Rozental <rogeeff@google.com>2019-09-04T09·47-0400
commiteb6b7bd23bc0815bfd784e1a74021ce166765280 (patch)
treeb1a72bc438393e2cc584a9d2975c57f28ba13096
parent9ddac555b7861dc178d0dbe758a1cfbed718784b (diff)
Export of internal Abseil changes
--
552959395a367b202e00fc7680e3500e4d15a341 by Abseil Team <absl-team@google.com>:

In span_test, correctly describe matches with negation, and remove redundant "is".

negation is true when the match is negative.

PiperOrigin-RevId: 267064695
GitOrigin-RevId: 552959395a367b202e00fc7680e3500e4d15a341
Change-Id: Ic876f30170e7e0008c13fdc6269462cfc5737e0f
-rw-r--r--absl/types/span_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/types/span_test.cc b/absl/types/span_test.cc
index 9269f911f042..22467a0a767e 100644
--- a/absl/types/span_test.cc
+++ b/absl/types/span_test.cc
@@ -35,7 +35,7 @@
 namespace {
 
 MATCHER_P(DataIs, data,
-          absl::StrCat("data() is ", negation ? "is " : "isn't ",
+          absl::StrCat("data() ", negation ? "isn't " : "is ",
                        testing::PrintToString(data))) {
   return arg.data() == data;
 }