aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/OptionalTest.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2021-05-14 17:10:50 +0200
committerBenjamin Kramer <benny.kra@googlemail.com>2021-05-14 17:20:06 +0200
commit4dd546131ad2749fbde3e048583cf29d615b9851 (patch)
treeb16b64cea9bdbd0ccb9600561eb2e06a1864a1f7 /llvm/unittests/ADT/OptionalTest.cpp
parent90ffcb124566eba54e50ff29f479a6adcd726ae4 (diff)
downloadllvm-4dd546131ad2749fbde3e048583cf29d615b9851.zip
llvm-4dd546131ad2749fbde3e048583cf29d615b9851.tar.gz
llvm-4dd546131ad2749fbde3e048583cf29d615b9851.tar.bz2
Bump googletest to 1.8.1
We've accumulated a scary amount of local patches to this directory. I tried to merge them all, but if your favorite change is missing please reapply it manually (and send it upstream).
Diffstat (limited to 'llvm/unittests/ADT/OptionalTest.cpp')
-rw-r--r--llvm/unittests/ADT/OptionalTest.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/llvm/unittests/ADT/OptionalTest.cpp b/llvm/unittests/ADT/OptionalTest.cpp
index d40e212..2c5d65f 100644
--- a/llvm/unittests/ADT/OptionalTest.cpp
+++ b/llvm/unittests/ADT/OptionalTest.cpp
@@ -727,10 +727,11 @@ TEST(OptionalTest, UseInUnitTests) {
// Test that we invoke the streaming operators when pretty-printing values in
// EXPECT macros.
EXPECT_NONFATAL_FAILURE(EXPECT_EQ(llvm::None, ComparableAndStreamable::get()),
- "Expected: llvm::None\n"
- " Which is: None\n"
- "To be equal to: ComparableAndStreamable::get()\n"
- " Which is: ComparableAndStreamable");
+ "Expected equality of these values:\n"
+ " llvm::None\n"
+ " Which is: None\n"
+ " ComparableAndStreamable::get()\n"
+ " Which is: ComparableAndStreamable");
// Test that it is still possible to compare objects which do not have a
// custom streaming operator.