Merge #7924 'test/old: various fixes'

This commit is contained in:
Justin M. Keyes 2018-01-28 22:51:51 +01:00 committed by GitHub
commit b251c42195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 6 deletions

View File

@ -941,9 +941,6 @@ void ex_diffpatch(exarg_T *eap)
}
#endif
// patch probably has written over the screen
redraw_later(CLEAR);
// Delete any .orig or .rej file created.
STRCPY(buf, tmp_new);
STRCAT(buf, ".orig");

View File

@ -11,7 +11,7 @@ SCRIPTSOURCE := ../../../runtime
export SHELL := sh
export NVIM_PRG := $(NVIM_PRG)
export TMPDIR := Xtest-tmpdir
export TMPDIR := $(abspath ../../../Xtest-tmpdir)
SCRIPTS_DEFAULT = \
test14.out \

View File

@ -152,8 +152,8 @@ func Test_set_completion()
" Expand directories.
call feedkeys(":set cdpath=./\<C-A>\<C-B>\"\<CR>", 'tx')
call assert_match(' ./samples/ ', @:)
call assert_notmatch(' ./small.vim ', @:)
call assert_match('./samples/ ', @:)
call assert_notmatch('./small.vim ', @:)
" Expand files and directories.
call feedkeys(":set tags=./\<C-A>\<C-B>\"\<CR>", 'tx')