Skip to content

Commit 2a52aa9

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

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

test/fpm_test/test_filesystem.f90

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,8 @@ subroutine test_mkdir_rmdir(error)
110110
!> Error handling
111111
type(error_t), allocatable, intent(out) :: error
112112

113-
logical :: is_win
114113

115-
is_win = (get_os_type() == OS_WINDOWS)
116-
117-
if (is_win) then
118-
call check_mkdir(error, "tmpdir\subdir")
119-
else
120-
call check_mkdir(error, "tmpdir/subdir")
121-
end if
114+
call check_mkdir(error, join_path("tmpdir","subdir"))
122115
if (allocated(error)) return
123116

124117
if (is_win) then

0 commit comments

Comments
 (0)