[clangd] NFC: Remove test duplicate
authorKirill Bobyrev <kbobyrev.opensource@gmail.com>
Tue, 25 Sep 2018 09:47:01 +0000 (09:47 +0000)
committerKirill Bobyrev <kbobyrev.opensource@gmail.com>
Tue, 25 Sep 2018 09:47:01 +0000 (09:47 +0000)
`FuzzyMatchQ` test was a duplicate of `FuzzyMatch` pulled from MemIndex
tests.

llvm-svn: 342957

clang-tools-extra/unittests/clangd/DexTests.cpp

index f0cb783..b9c1f07 100644 (file)
@@ -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.