aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/OptionalTest.cpp
diff options
context:
space:
mode:
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.