Error: Improve unit test by using gtest equality rather than explicit string compare...
authorDavid Blaikie <dblaikie@gmail.com>
Wed, 8 Sep 2021 23:21:11 +0000 (16:21 -0700)
committerDavid Blaikie <dblaikie@gmail.com>
Wed, 8 Sep 2021 23:21:11 +0000 (16:21 -0700)
commitd18083c6dcb6fb646dbccdfe0954c3dd751f4b8c
tree3d50f21b58165a0befb03c2e63f6910fc27a8e22
parentf03689ace598b2c5f8263bbc5afbc4e5bc33ac43
Error: Improve unit test by using gtest equality rather than explicit string compare calls

This ensures error messages from gtest includes the raw text of both
sides of the comparison - otherwise all gtest can report is the text of
the expression source, without any information about the values or how
they differ.
llvm/unittests/Support/ErrorTest.cpp