summaryrefslogtreecommitdiff
path: root/test/test_directory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/test_directory.cpp')
-rw-r--r--test/test_directory.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test_directory.cpp b/test/test_directory.cpp
index 9cec80d..45d0c77 100644
--- a/test/test_directory.cpp
+++ b/test/test_directory.cpp
@@ -100,9 +100,9 @@ TEST(FudDirectory, Basic)
const auto fname = testDirNamePrefix.catenate(fnameBase);
ASSERT_TRUE(fname.utf8Valid());
CBinaryFile file{fname, CFileMode::ReadWriteTruncate};
- ASSERT_EQ(file.open(), FileStatus::Success);
+ ASSERT_EQ(file.open(), FudStatus::Success);
Array<utf8, 5> data{"test"};
- WriteResult expected{data.size(), FileStatus::Success};
+ WriteResult expected{data.size(), FudStatus::Success};
auto writeResult = file.write(data);
ASSERT_EQ(writeResult.bytesWritten, expected.bytesWritten);
ASSERT_EQ(writeResult.status, expected.status);
@@ -134,7 +134,6 @@ TEST(FudDirectory, Basic)
[&dirEntry](const DirectoryEntry& entry) { return entry.name.compare(dirEntry.name) && entry.entryType == dirEntry.entryType; });
EXPECT_NE(expected, nullptr);
EXPECT_NE(expected, expectedFiles.end());
- printf("%s %u\n", dirEntry.name.c_str(), static_cast<uint8_t>(dirEntry.entryType));
}
auto finalDirEntryResult = directory.getNextEntry();