1
0
forked from aniani/vim

patch 8.0.0539: startup test fails on Mac

Problem:    Startup test fails on Mac.
Solution:   Use another term name, "unknown" is known. Avoid a 2 second delay.
This commit is contained in:
Bram Moolenaar
2017-04-02 17:21:16 +02:00
parent 85045a73db
commit 08f88b139d
5 changed files with 15 additions and 2 deletions

View File

@@ -216,7 +216,7 @@ func Test_default_term()
endif
let save_term = $TERM
let $TERM = 'unknown'
let $TERM = 'unknownxxx'
let out = system(GetVimCommand() . ' -c''set term'' -c cq')
call assert_match("defaulting to 'ansi'", out)
let $TERM = save_term