simark added inline comments.
================ Comment at: unittests/clangd/XRefsTests.cpp:561 + + EXPECT_EQ(H.contents.value, Test.expectedHover.str()) << Test.input; + } ---------------- Note that I used `.str()` here to make the output of failing tests readable and useful. By default, gtest tries to print StringRef as if it was a container. I tried to make add a `PrintTo` function to specify how it should be printed, but couldn't get it to work (to have it called by the compiler), so I settled for this. Repository: rCTE Clang Tools Extra https://reviews.llvm.org/D35894 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits