diff options
| author | JosJuice <josjuice@gmail.com> | 2024-10-15 17:08:55 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-15 17:08:55 +0200 |
| commit | 07605bf67c6815510688ebf3e71583624c3bfab0 (patch) | |
| tree | 45d3c7260daf088cbf44febda937f1a4c34c5141 /Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp | |
| parent | ef8b753cd778179e1c2980b1ec2615f80a314714 (diff) | |
| parent | e572081ac322253d65bf767a88887fedd4e97c2e (diff) | |
Merge pull request #13090 from mitaclaw/ranges-modernization-1-trivial
Ranges Algorithms Modernization - Trivial
Diffstat (limited to 'Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp')
| -rw-r--r-- | Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp b/Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp index b1e6997e34..513f86d4c9 100644 --- a/Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp +++ b/Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp @@ -121,7 +121,7 @@ TEST_F(FileSystemTest, CreateFile) const Result<std::vector<std::string>> tmp_files = m_fs->ReadDirectory(Uid{0}, Gid{0}, "/tmp"); ASSERT_TRUE(tmp_files.Succeeded()); - EXPECT_EQ(std::count(tmp_files->begin(), tmp_files->end(), "f"), 1u); + EXPECT_EQ(std::ranges::count(*tmp_files, "f"), 1u); // Test invalid paths // Unprintable characters |
