[clang-tools-extra] r336253 - [clangd] Cleanup unittest: URIs. NFC.
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Wed Jul 4 02:54:23 PDT 2018
Author: ioeric
Date: Wed Jul 4 02:54:23 2018
New Revision: 336253
URL: http://llvm.org/viewvc/llvm-project?rev=336253&view=rev
Log:
[clangd] Cleanup unittest: URIs. NFC.
Modified:
clang-tools-extra/trunk/unittests/clangd/FileDistanceTests.cpp
Modified: clang-tools-extra/trunk/unittests/clangd/FileDistanceTests.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/unittests/clangd/FileDistanceTests.cpp?rev=336253&r1=336252&r2=336253&view=diff
==============================================================================
--- clang-tools-extra/trunk/unittests/clangd/FileDistanceTests.cpp (original)
+++ clang-tools-extra/trunk/unittests/clangd/FileDistanceTests.cpp Wed Jul 4 02:54:23 2018
@@ -76,8 +76,8 @@ TEST(FileDistanceTests, URI) {
#else
EXPECT_EQ(D.distance("file:///not/a/testpath/either"), 3u);
#endif
- EXPECT_EQ(D.distance("unittest:foo"), 1000u);
- EXPECT_EQ(D.distance("unittest:bar"), 1008u);
+ EXPECT_EQ(D.distance("unittest:///foo"), 1000u);
+ EXPECT_EQ(D.distance("unittest:///bar"), 1008u);
}
TEST(FileDistance, LimitUpTraversals) {
More information about the cfe-commits
mailing list