diff options
author | Kirill Bobyrev <kbobyrev.opensource@gmail.com> | 2018-09-25 09:47:01 +0000 |
---|---|---|
committer | Kirill Bobyrev <kbobyrev.opensource@gmail.com> | 2018-09-25 09:47:01 +0000 |
commit | f5ffbc0e41ac37fb3a2eeb03558ad7cfc94d0ef0 (patch) | |
tree | 5ab621cc582a032844117214659e6331a6b79b28 /clang-tools-extra | |
parent | 3f8c677ef899fbd501adb427d77b9bbe531e3fd7 (diff) |
[clangd] NFC: Remove test duplicate
`FuzzyMatchQ` test was a duplicate of `FuzzyMatch` pulled from MemIndex
tests.
Diffstat (limited to 'clang-tools-extra')
-rw-r--r-- | clang-tools-extra/unittests/clangd/DexTests.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/clang-tools-extra/unittests/clangd/DexTests.cpp b/clang-tools-extra/unittests/clangd/DexTests.cpp index f0cb783bec6..b9c1f07b084 100644 --- a/clang-tools-extra/unittests/clangd/DexTests.cpp +++ b/clang-tools-extra/unittests/clangd/DexTests.cpp @@ -475,17 +475,6 @@ TEST(Dex, FuzzyFind) { "other::A")); } -TEST(DexTest, FuzzyMatchQ) { - auto I = Dex::build( - generateSymbols({"LaughingOutLoud", "LionPopulation", "LittleOldLady"}), - URISchemes); - FuzzyFindRequest Req; - Req.Query = "lol"; - Req.Limit = 2; - EXPECT_THAT(match(*I, Req), - UnorderedElementsAre("LaughingOutLoud", "LittleOldLady")); -} - // FIXME(kbobyrev): This test is different for Dex and MemIndex: while // MemIndex manages response deduplication, Dex simply returns all matched // symbols which means there might be equivalent symbols in the response. |