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.cpp8
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));