File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -208,3 +208,16 @@ func Test_silent_ex_mode()
208208 let out = system (GetVimCommand () . ' -u NONE -es -c'' set verbose=1|h|exe "%norm\<c-y>\<c-d>"'' -c cq' )
209209 call assert_notmatch (' E315:' , out)
210210endfunc
211+
212+ func Test_default_term ()
213+ if ! has (' unix' ) || has (' gui_running' )
214+ " can't get output of Vim.
215+ return
216+ endif
217+
218+ let save_term = $TERM
219+ let $TERM = ' unknown'
220+ let out = system (GetVimCommand () . ' -c'' set term'' -c cq' )
221+ call assert_match (" defaulting to 'ansi'" , out)
222+ let $TERM = save_term
223+ endfunc
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+ 538 ,
767769/**/
768770 537 ,
769771/**/
You can’t perform that action at this time.
0 commit comments