Skip to content

Commit

Permalink
Export of internal Abseil changes
Browse files Browse the repository at this point in the history
--
552959395a367b202e00fc7680e3500e4d15a341 by Abseil Team <[email protected]>:

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
  • Loading branch information
Abseil Team authored and rogeeff committed Sep 4, 2019
1 parent 9ddac55 commit eb6b7bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion absl/types/span_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit eb6b7bd

Please sign in to comment.