mirror of
https://github.com/neovim/neovim.git
synced 2025-09-25 20:48:32 +00:00
vim-patch:8.0.1807: function to set terminal name is too long
Problem: Function to set terminal name is too long.
Solution: Refactor the function. Fix typo in test.
69e056915c
This commit is contained in:
@@ -262,7 +262,7 @@ func Test_set_ttytype()
|
||||
" in travis on some builds. Why? Catch both for now
|
||||
try
|
||||
set ttytype=
|
||||
call assert_report('set ttype= did not fail')
|
||||
call assert_report('set ttytype= did not fail')
|
||||
catch /E529\|E522/
|
||||
endtry
|
||||
|
||||
@@ -270,7 +270,7 @@ func Test_set_ttytype()
|
||||
" check for failure of finding the entry and for missing 'cm' entry.
|
||||
try
|
||||
set ttytype=xxx
|
||||
call assert_report('set ttype=xxx did not fail')
|
||||
call assert_report('set ttytype=xxx did not fail')
|
||||
catch /E522\|E437/
|
||||
endtry
|
||||
|
||||
|
Reference in New Issue
Block a user