diff options
Diffstat (limited to 'lldb/unittests/Host/FileTest.cpp')
-rw-r--r-- | lldb/unittests/Host/FileTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/unittests/Host/FileTest.cpp b/lldb/unittests/Host/FileTest.cpp index 8cf1ebd2d99..6a0434327f3 100644 --- a/lldb/unittests/Host/FileTest.cpp +++ b/lldb/unittests/Host/FileTest.cpp @@ -31,7 +31,7 @@ TEST(File, GetWaitableHandleFileno) { FILE *stream = fdopen(fd, "r"); ASSERT_TRUE(stream); - File file(stream, true); + NativeFile file(stream, true); EXPECT_EQ(file.GetWaitableHandle(), fd); } @@ -46,7 +46,7 @@ TEST(File, GetStreamFromDescriptor) { llvm::FileRemover remover(name); ASSERT_GE(fd, 0); - File file(fd, File::eOpenOptionWrite, true); + NativeFile file(fd, File::eOpenOptionWrite, true); ASSERT_TRUE(file.IsValid()); FILE *stream = file.GetStream(); |