functests: Use . for various folder defaults in tests

This commit is contained in:
ZyX 2015-10-23 15:20:38 +03:00
parent ec1ca54d59
commit 6b17d35ff1
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ local Session = require('nvim.session')
local nvim_prog = os.getenv('NVIM_PROG') or 'build/bin/nvim'
local nvim_argv = {nvim_prog, '-u', 'NONE', '-i', 'NONE', '-N',
'--cmd', 'set shortmess+=I background=light noswapfile noautoindent laststatus=1 encoding=utf-8',
'--cmd', 'set shortmess+=I background=light noswapfile noautoindent laststatus=1 encoding=utf-8 undodir=. directory=. viewdir=. backupdir=.',
'--embed'}
-- Formulate a path to the directory containing nvim. We use this to

View File

@ -18,7 +18,7 @@ describe('72', function()
-- Test 'undofile': first a simple one-line change.
execute('set visualbell')
execute('set ul=100 undofile nomore')
execute('set ul=100 undofile undodir=. nomore')
execute('e! Xtestfile')
feed('ggdGithis is one line<esc>:set ul=100<cr>')
execute('s/one/ONE/')