@@ -13,7 +13,7 @@ program new_test
13
13
character (len=* ),parameter :: cmds(* ) = [character (len= 80 ) :: &
14
14
! run a variety of "fpm new" variations and verify expected files are generated
15
15
' new' , &
16
- ' new no-no ' , &
16
+ ' new name-with-hyphens ' , &
17
17
' new ' // scr// ' A' , &
18
18
' new ' // scr// ' B --lib' , &
19
19
' new ' // scr// ' C --app' , &
@@ -63,7 +63,7 @@ program new_test
63
63
if ( is_dir(trim (directories(i))) ) then
64
64
write (* ,* )' ERROR:' ,trim ( directories(i) ),' already exists'
65
65
write (* ,* )' you must remove scratch directories before performing this test'
66
- write (* ,' (*(g0:,1x))' )' directories:' ,(trim (directories(j)),j= 1 ,size (directories)),' no-no '
66
+ write (* ,' (*(g0:,1x))' )' directories:' ,(trim (directories(j)),j= 1 ,size (directories)),' name-with-hyphens '
67
67
stop
68
68
endif
69
69
enddo
@@ -75,11 +75,11 @@ program new_test
75
75
write (* ,' (*(g0))' )' CMD=' ,trim (cmds(i)),' EXITSTAT=' ,estat,' CMDSTAT=' ,cstat,' MESSAGE=' ,trim (message)
76
76
enddo
77
77
78
- if ( is_dir(' no-no' ) ) then
79
- tally= [tally,.false. ]
80
- write (* ,* )' ERROR: directory no-no/ exists'
81
- else
78
+ if ( is_dir(' name-with-hyphens' ) ) then
82
79
tally= [tally,.true. ]
80
+ else
81
+ write (* ,* )' ERROR: directory name-with-hyphens/ exists'
82
+ tally= [tally,.false. ]
83
83
endif
84
84
85
85
! assuming hidden files in .git and .gitignore are ignored for now
0 commit comments