From 6c7fd1db481ff10a16ecab958c6542784fa60b9c Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Wed, 30 Oct 2024 09:51:54 -0500 Subject: Use std::byte* instead of void* for allocators. --- test/test_directory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/test_directory.cpp') diff --git a/test/test_directory.cpp b/test/test_directory.cpp index ba1c0e1..96b9c2d 100644 --- a/test/test_directory.cpp +++ b/test/test_directory.cpp @@ -60,9 +60,9 @@ TEST(FudDirectory, Basic) CBinaryFile file{std::move(fileResult).takeOkay()}; ASSERT_EQ(file.open(), FudStatus::Success); Array data{u8"test"}; - WriteResult expected{data.size(), FudStatus::Success}; + DrainResult expected{data.size(), FudStatus::Success}; auto writeResult = file.write(data); - ASSERT_EQ(writeResult.bytesWritten, expected.bytesWritten); + ASSERT_EQ(writeResult.bytesDrained, expected.bytesDrained); ASSERT_EQ(writeResult.status, expected.status); } -- cgit v1.2.3