diff options
| author | Admiral H. Curtiss <pikachu025@gmail.com> | 2022-06-04 21:51:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-06-04 21:51:58 +0200 |
| commit | 96f9d1000d719f81bab7ff28c785d79ed8737c49 (patch) | |
| tree | 599ba399384c1ca5fc439c6ac55574a51e54d31c /Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp | |
| parent | d7cda674627a574c5a93e2652b38a9f2668f2c33 (diff) | |
| parent | 92af703f2914fbdee14ee7b78e624a82de1145e7 (diff) | |
Merge pull request #10721 from Dentomologist/fix_warnings_on_generic_builder
Fix warnings on generic builder
Diffstat (limited to 'Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp')
| -rw-r--r-- | Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp b/Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp index 15d3544f1d..5442a66eab 100644 --- a/Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp +++ b/Source/UnitTests/Core/IOS/FS/FileSystemTest.cpp @@ -93,7 +93,7 @@ TEST(FileSystem, PathSplitting) TEST_F(FileSystemTest, EssentialDirectories) { - for (const std::string& path : + for (const std::string path : {"/sys", "/ticket", "/title", "/shared1", "/shared2", "/tmp", "/import", "/meta"}) { EXPECT_TRUE(m_fs->ReadDirectory(Uid{0}, Gid{0}, path).Succeeded()) << path; @@ -457,7 +457,7 @@ TEST_F(FileSystemTest, CreateFullPath) ASSERT_EQ(m_fs->CreateFullPath(Uid{0}, Gid{0}, "/tmp/a/b/c/d", 0, modes), ResultCode::Success); // Parent directories should be created by CreateFullPath. - for (const std::string& path : {"/tmp", "/tmp/a", "/tmp/a/b", "/tmp/a/b/c"}) + for (const std::string path : {"/tmp", "/tmp/a", "/tmp/a/b", "/tmp/a/b/c"}) EXPECT_TRUE(m_fs->ReadDirectory(Uid{0}, Gid{0}, path).Succeeded()); // If parent directories already exist, the call should still succeed. |
