Skip to content

Commit a5f039e

Browse files
authored
Merge pull request #686 from arteevraina/space-help-cmd-test
fix: remove extra space from help-test cmd
2 parents 6e43cdb + eee91f0 commit a5f039e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

test/help_test/help_test.f90

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@ program help_test
2222
character(len=*),parameter :: cmds(*) = [character(len=80) :: &
2323
! build manual as pieces using various help commands
2424
! debug version
25-
' --version ',& ! verify fpm version being used
26-
' --help > fpm_scratch_help.txt',&
27-
' help new >> fpm_scratch_help.txt',&
28-
' help update >> fpm_scratch_help.txt',&
29-
' build --help >> fpm_scratch_help.txt',&
30-
' help run >> fpm_scratch_help.txt',&
31-
' help test >> fpm_scratch_help.txt',&
32-
' help runner >> fpm_scratch_help.txt',&
33-
' help install >> fpm_scratch_help.txt',&
34-
' help list >> fpm_scratch_help.txt',&
35-
' help help >> fpm_scratch_help.txt',&
36-
' help clean >> fpm_scratch_help.txt',&
37-
' --version >> fpm_scratch_help.txt',&
25+
'--version ',& ! verify fpm version being used
26+
'--help > fpm_scratch_help.txt',&
27+
'help new >> fpm_scratch_help.txt',&
28+
'help update >> fpm_scratch_help.txt',&
29+
'build --help >> fpm_scratch_help.txt',&
30+
'help run >> fpm_scratch_help.txt',&
31+
'help test >> fpm_scratch_help.txt',&
32+
'help runner >> fpm_scratch_help.txt',&
33+
'help install >> fpm_scratch_help.txt',&
34+
'help list >> fpm_scratch_help.txt',&
35+
'help help >> fpm_scratch_help.txt',&
36+
'help clean >> fpm_scratch_help.txt',&
37+
'--version >> fpm_scratch_help.txt',&
3838
! generate manual
3939
' help manual > fpm_scratch_manual.txt']
4040

@@ -106,7 +106,7 @@ program help_test
106106
! execute the fpm(1) commands
107107
do i=1,size(cmds)
108108
message=''
109-
path= prog // cmds(i)
109+
path= prog //' '//cmds(i)
110110
call execute_command_line(path,exitstat=estat,cmdstat=cstat,cmdmsg=message)
111111
write(*,'(*(g0))')'<INFO>CMD=',path,' EXITSTAT=',estat,' CMDSTAT=',cstat,' MESSAGE=',trim(message)
112112
tally=[tally,all([estat.eq.0,cstat.eq.0])]

0 commit comments

Comments
 (0)