From 029aa8ec7f52a6dabd3ac3b15e488ebe0148ae2c Mon Sep 17 00:00:00 2001 From: Kirill Bobyrev Date: Tue, 25 Sep 2018 09:47:01 +0000 Subject: [PATCH] [clangd] NFC: Remove test duplicate `FuzzyMatchQ` test was a duplicate of `FuzzyMatch` pulled from MemIndex tests. llvm-svn: 342957 --- clang-tools-extra/unittests/clangd/DexTests.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/clang-tools-extra/unittests/clangd/DexTests.cpp b/clang-tools-extra/unittests/clangd/DexTests.cpp index f0cb783..b9c1f07 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. -- 2.7.4