@@ -2,7 +2,7 @@ module test_filesystem
2
2
use testdrive, only : new_unittest, unittest_type, error_type, check, skip_test
3
3
use stdlib_system, only: is_directory, delete_file, FS_ERROR, FS_ERROR_CODE, &
4
4
make_directory, remove_directory, make_directory_all, is_windows, OS_TYPE, &
5
- OS_WINDOWS, exists, type_unknown, type_regular_file, type_directory, type_symlink
5
+ OS_WINDOWS, exists, fs_type_unknown, fs_type_regular_file, fs_type_directory, fs_type_symlink
6
6
use stdlib_error, only: state_type, STDLIB_FS_ERROR
7
7
use stdlib_strings, only: to_string
8
8
@@ -89,7 +89,7 @@ subroutine test_exists_reg_file(error)
89
89
return
90
90
end if
91
91
92
- call check(error, t == type_regular_file , " exists incorrectly identifies type of &
92
+ call check(error, t == fs_type_regular_file , " exists incorrectly identifies type of &
93
93
reg files!: type=" // to_string(t))
94
94
95
95
if (allocated (error)) then
@@ -130,7 +130,7 @@ subroutine test_exists_dir(error)
130
130
return
131
131
end if
132
132
133
- call check(error, t == type_directory , " exists incorrectly identifies type of &
133
+ call check(error, t == fs_type_directory , " exists incorrectly identifies type of &
134
134
directories!: type=" // to_string(t))
135
135
136
136
if (allocated (error)) then
@@ -193,7 +193,7 @@ subroutine test_exists_symlink(error)
193
193
return
194
194
end if
195
195
196
- call check(error, t == type_symlink , " exists incorrectly identifies type of &
196
+ call check(error, t == fs_type_symlink , " exists incorrectly identifies type of &
197
197
symlinks!: type=" // to_string(t))
198
198
199
199
if (allocated (error)) then
0 commit comments