Skip to content

Commit 074d990

Browse files
Update test/fpm_test/test_filesystem.f90
Co-authored-by: Laurence Kedward <[email protected]>
1 parent d9b970a commit 074d990

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/fpm_test/test_filesystem.f90

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,7 @@ subroutine check_rmdir(error, path)
180180
call os_delete_dir(os_is_unix(),path)
181181

182182
! Check that directory is indeed deleted
183-
stat = (is_dir(path) .eqv. .false.)
184-
if (.not. stat) then
183+
if (is_dir(path)) then
185184
call test_failed(error, &
186185
"Directory path "//path//" cannot be deleted")
187186
end if

0 commit comments

Comments
 (0)