Skip to content

Commit eacc168

Browse files
committed
.le. -> <=; .ge. -> >=
1 parent 6c51ebb commit eacc168

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/fpm_filesystem.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ function basename(path,suffix) result (base)
104104
endif
105105
if(.not.with_suffix)then
106106
call split(base,file_parts,delimiters='.')
107-
if(size(file_parts).ge.2)then
107+
if(size(file_parts)>=2)then
108108
base = trim(file_parts(size(file_parts)-1))
109109
endif
110110
endif

test/fpm_test/test_versioning.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ subroutine test_valid_compare(error)
213213
return
214214
end if
215215

216-
if (.not. v1 .ge. v2) then
216+
if (.not. v1 >= v2) then
217217
call test_failed(error, "Version comparison failed (ge)")
218218
return
219219
end if
@@ -223,7 +223,7 @@ subroutine test_valid_compare(error)
223223
return
224224
end if
225225

226-
if (.not. v2 .le. v1) then
226+
if (.not. v2 <= v1) then
227227
call test_failed(error, "Version comparison failed (le)")
228228
return
229229
end if

test/help_test/help_test.f90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ subroutine slurp(filename,text)
190190
local_filename=filename
191191
if(ios==0)then ! if file was successfully opened
192192
inquire(unit=igetunit, size=nchars)
193-
if(nchars.le.0)then
193+
if(nchars<=0)then
194194
call stderr_local( '*slurp* empty file '//trim(local_filename) )
195195
return
196196
endif

0 commit comments

Comments
 (0)