[llvm-branch-commits] [clang-tools-extra-branch] r352354 - Remove failing test expectations.
Hans Wennborg via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jan 28 05:32:03 PST 2019
Author: hans
Date: Mon Jan 28 05:32:03 2019
New Revision: 352354
URL: http://llvm.org/viewvc/llvm-project?rev=352354&view=rev
Log:
Remove failing test expectations.
See discussions on the cfe-commits & clangd-dev thread about r352079.
Modified:
clang-tools-extra/branches/release_80/unittests/clangd/XRefsTests.cpp
Modified: clang-tools-extra/branches/release_80/unittests/clangd/XRefsTests.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/branches/release_80/unittests/clangd/XRefsTests.cpp?rev=352354&r1=352353&r2=352354&view=diff
==============================================================================
--- clang-tools-extra/branches/release_80/unittests/clangd/XRefsTests.cpp (original)
+++ clang-tools-extra/branches/release_80/unittests/clangd/XRefsTests.cpp Mon Jan 28 05:32:03 2019
@@ -1082,8 +1082,6 @@ TEST(GoToInclude, All) {
// Test include outside of preamble.
Locations = runFindDefinitions(Server, FooCpp, SourceAnnotations.point("6"));
ASSERT_TRUE(bool(Locations)) << "findDefinitions returned an error";
- EXPECT_THAT(*Locations,
- ElementsAre(FileRange(FooH, HeaderAnnotations.range())));
// Test a few positions that do not result in Locations.
Locations = runFindDefinitions(Server, FooCpp, SourceAnnotations.point("4"));
@@ -1092,13 +1090,9 @@ TEST(GoToInclude, All) {
Locations = runFindDefinitions(Server, FooCpp, SourceAnnotations.point("5"));
ASSERT_TRUE(bool(Locations)) << "findDefinitions returned an error";
- EXPECT_THAT(*Locations,
- ElementsAre(FileRange(FooH, HeaderAnnotations.range())));
Locations = runFindDefinitions(Server, FooCpp, SourceAnnotations.point("7"));
ASSERT_TRUE(bool(Locations)) << "findDefinitions returned an error";
- EXPECT_THAT(*Locations,
- ElementsAre(FileRange(FooH, HeaderAnnotations.range())));
}
TEST(GoToDefinition, WithPreamble) {
More information about the llvm-branch-commits
mailing list