Skip to content

Commit 4132bf5

Browse files
committed
[clang][deps] Fix test after upstream change NFC
After the -working-directory fix, this test needs to use a relative path for "ReadFiles". Note: This test already used a relative path upstream, but was modified downstream. (cherry picked from commit 64a0b07)
1 parent 41fd167 commit 4132bf5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/unittests/Tooling/DependencyScannerTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,5 +355,5 @@ TEST(DependencyScanner, ScanDepsWithModuleLookup) {
355355

356356
EXPECT_TRUE(llvm::find(InterceptFS->StatPaths, OtherPath) ==
357357
InterceptFS->StatPaths.end());
358-
EXPECT_EQ(InterceptFS->ReadFiles, std::vector<std::string>{"/root/test.m"});
358+
EXPECT_EQ(InterceptFS->ReadFiles, std::vector<std::string>{"test.m"});
359359
}

0 commit comments

Comments
 (0)