[clangd] Fix the flaky FindTarget unittest after 1b66840
authorHaojian Wu <hokein.wu@gmail.com>
Tue, 27 Jun 2023 07:37:12 +0000 (09:37 +0200)
committerHaojian Wu <hokein.wu@gmail.com>
Tue, 27 Jun 2023 07:48:41 +0000 (09:48 +0200)
commit8aa88ee5e01df0daf08a3768fbf23fe655ad81c0
tree0d95456c135df2f6988fd3facacfa33877bf7ba2
parentcc0fc358540517a3d205243c27bd543afeae2b02
[clangd] Fix the flaky FindTarget unittest after 1b66840

after 1b66840, FindTarget will report multiple refs with the same
location, make the sort order of the refs deterministic in
FindTargetTests.
clang-tools-extra/clangd/unittests/FindTargetTests.cpp