[clang-tools-extra] r370030 - [clangd] Fix for r370029 test that got left in my client

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 27 02:27:00 PDT 2019


Author: sammccall
Date: Tue Aug 27 02:27:00 2019
New Revision: 370030

URL: http://llvm.org/viewvc/llvm-project?rev=370030&view=rev
Log:
[clangd] Fix for r370029 test that got left in my client

Modified:
    clang-tools-extra/trunk/clangd/unittests/SourceCodeTests.cpp

Modified: clang-tools-extra/trunk/clangd/unittests/SourceCodeTests.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/unittests/SourceCodeTests.cpp?rev=370030&r1=370029&r2=370030&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/unittests/SourceCodeTests.cpp (original)
+++ clang-tools-extra/trunk/clangd/unittests/SourceCodeTests.cpp Tue Aug 27 02:27:00 2019
@@ -551,7 +551,7 @@ $foo^#include "foo.inc"
             Test.llvm::Annotations::point("foo"));
   FileID Bar = SM.getFileID(findDecl(AST, "bar").getLocation());
   EXPECT_EQ(SM.getFileOffset(includeHashLoc(Bar, SM)),
-            Test.llvm::Annotations::point("foo"));
+            Test.llvm::Annotations::point("bar"));
 }
 
 } // namespace




More information about the cfe-commits mailing list