File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed
Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 11" Test filename modifiers.
22
33func Test_fnamemodify ()
4+ let save_home = $HOME
5+ let save_shell = &shell
46 let $HOME = fnamemodify (' .' , ' :p:h:h' )
57 set shell = sh
68
@@ -39,7 +41,9 @@ func Test_fnamemodify()
3941 call assert_equal (" 'abc\n def'" , fnamemodify (" abc\n def" , ' :S' ))
4042 set shell = tcsh
4143 call assert_equal (" 'abc\\ \n def'" , fnamemodify (" abc\n def" , ' :S' ))
42- set shell &
44+
45+ let $HOME = save_home
46+ let &shell = save_shell
4347endfunc
4448
4549func Test_expand ()
Original file line number Diff line number Diff line change @@ -764,6 +764,8 @@ static char *(features[]) =
764764
765765static int included_patches [] =
766766{ /* Add new patch number below this line */
767+ /**/
768+ 438 ,
767769/**/
768770 437 ,
769771/**/
You can’t perform that action at this time.
0 commit comments