Skip to content

Commit c39858a

Browse files
committed
Adjust formatting for CreateReadOnlyDirectory in tests
1 parent 8b3d507 commit c39858a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/FileSystemTests.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,7 @@ TEST_CASE("FileSystemTests::VerifyRemoveDirectoryRecursiveCanDeleteReadOnlyFiles
142142

143143
auto CreateReadOnlyDirectory = [](PCWSTR path) {
144144
REQUIRE(::CreateDirectoryW(path, nullptr));
145-
146145
DWORD directoryAttr = ::GetFileAttributesW(path);
147-
148146
REQUIRE(::SetFileAttributesW(path, directoryAttr | FILE_ATTRIBUTE_READONLY));
149147
};
150148

0 commit comments

Comments
 (0)