diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-09-28 18:35:57 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-09-28 18:35:57 -0500 |
commit | 4ef88103f74a3a6e8e36ae9eff80f641e20bd1a1 (patch) | |
tree | 4dc098488ea087de82b1edccdc89853c6b04c891 /test | |
parent | b6967c8a9190efa4e9128850fa723fe3ea3140f7 (diff) |
Fix string catenate error.
Diffstat (limited to 'test')
-rw-r--r-- | test/test_directory.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test_directory.cpp b/test/test_directory.cpp index 45d0c77..3c43663 100644 --- a/test/test_directory.cpp +++ b/test/test_directory.cpp @@ -113,10 +113,10 @@ TEST(FudDirectory, Basic) ASSERT_EQ(directory.errorCode(), 0); const Array<DirectoryEntry, 4> expectedFiles{ - DirectoryEntry{String{"."}, 0, 2, 0, DirectoryEntryType::Directory}, - DirectoryEntry{String{".."}, 0, 1, 0, DirectoryEntryType::Directory}, - DirectoryEntry{files[0], files[0].size(), 1, 0, DirectoryEntryType::RegularFile}, - DirectoryEntry{files[1], files[1].size(), 1, 0, DirectoryEntryType::RegularFile}, + DirectoryEntry{String{"."}, 0, 0, 2, 0, DirectoryEntryType::Directory}, + DirectoryEntry{String{".."}, 0, 0, 1, 0, DirectoryEntryType::Directory}, + DirectoryEntry{files[0], 0, files[0].size(), 1, 0, DirectoryEntryType::RegularFile}, + DirectoryEntry{files[1], 0, files[1].size(), 1, 0, DirectoryEntryType::RegularFile}, }; ASSERT_TRUE(expectedFiles[0].name.compare(expectedFiles[0].name)); |