Skip to content

Commit 6a5590c

Browse files
Update test/fpm_test/test_filesystem.f90
Co-authored-by: Laurence Kedward <[email protected]>
1 parent 25ead89 commit 6a5590c

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
@@ -153,8 +153,7 @@ subroutine check_mkdir(error, path)
153153
call mkdir(path)
154154

155155
! Check that directory is indeed created
156-
stat = (is_dir(path) .eqv. .true.)
157-
if (.not. stat) then
156+
if (.not.is_dir(path)) then
158157
call test_failed(error, &
159158
"Directory path "//path//" cannot be created")
160159
end if

0 commit comments

Comments
 (0)