mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
test(old): change $TMPDIR from Xtest-tmpdir to X-test-tmpdir (#21346)
I've noticed a patch 8.2.4376 that uses more Xtest directories. Change $TMPDIR to X-test-tmpdir to avoid more future divergence.
This commit is contained in:
parent
d82096edf8
commit
8b3412636a
@ -11,7 +11,7 @@ ROOT := ../../..
|
||||
|
||||
export SHELL := sh
|
||||
export NVIM_PRG := $(NVIM_PRG)
|
||||
export TMPDIR := $(abspath Xtest-tmpdir)
|
||||
export TMPDIR := $(abspath X-test-tmpdir)
|
||||
|
||||
ifeq ($(OS),Windows_NT)
|
||||
FIXFF = fixff
|
||||
|
@ -9,7 +9,7 @@ source view_util.vim
|
||||
|
||||
" {Nvim}
|
||||
" Filepath captured from output may be truncated, like this:
|
||||
" /home/va...estdir/Xtest-tmpdir/nvimxbXN4i/10
|
||||
" /home/va...estdir/X-test-tmpdir/nvimxbXN4i/10
|
||||
" Get last 2 segments, then combine with $TMPDIR.
|
||||
func! Fix_truncated_tmpfile(fname)
|
||||
" sanity check
|
||||
|
@ -7,7 +7,7 @@ source shared.vim
|
||||
|
||||
func Test_complete_tab()
|
||||
call writefile(['testfile'], 'Xtestfile')
|
||||
call feedkeys(":e Xtestf\t\r", "tx")
|
||||
call feedkeys(":e Xtest\t\r", "tx")
|
||||
call assert_equal('testfile', getline(1))
|
||||
|
||||
" Pressing <Tab> after '%' completes the current file, also on MS-Windows
|
||||
|
Loading…
Reference in New Issue
Block a user