File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -547,7 +547,7 @@ TEST_F(FileManagerTest, getBypassFile) {
547547 Manager.setStatCache (std::move (Cache));
548548
549549 // Set up a virtual file with a different size than FakeStatCache uses.
550- const FileEntry * File = Manager.getVirtualFile (" /tmp/test" , /* Size=*/ 10 , 0 );
550+ FileEntryRef File = Manager.getVirtualFileRef (" /tmp/test" , /* Size=*/ 10 , 0 );
551551 ASSERT_TRUE (File);
552552 const FileEntry &FE = *File;
553553 EXPECT_EQ (FE.getSize (), 10 );
@@ -562,7 +562,7 @@ TEST_F(FileManagerTest, getBypassFile) {
562562 EXPECT_EQ (FE.getSize (), 10 );
563563
564564 // Bypass the file.
565- OptionalFileEntryRef BypassRef = Manager.getBypassFile (File-> getLastRef () );
565+ OptionalFileEntryRef BypassRef = Manager.getBypassFile (File);
566566 ASSERT_TRUE (BypassRef);
567567 EXPECT_EQ (" /tmp/test" , BypassRef->getName ());
568568
You can’t perform that action at this time.
0 commit comments