[clangd][test] Fix error message in SerializationTest.BinaryConversions
authorTom Praschan <13141438+tom-anders@users.noreply.github.com>
Thu, 11 Aug 2022 06:32:22 +0000 (08:32 +0200)
committerTom Praschan <13141438+tom-anders@users.noreply.github.com>
Thu, 11 Aug 2022 06:50:23 +0000 (08:50 +0200)
commit15bf2aa44aa1ffa049782316273f84c2db682e50
tree2f803088bbc0205051c16d78281ad37901898d9a
parent96850003d20ee62924a8bc037cd76c52e12653b3
[clangd][test] Fix error message in SerializationTest.BinaryConversions

I noticed this when adding a new type to the index for
https://github.com/clangd/clangd/issues/529. When the assertion failed,
this actually caused a crash, because llvm::expected would complain that
we did not take the error.
clang-tools-extra/clangd/unittests/SerializationTests.cpp