From 6b17d35ff19a56171527b34364c88c820e1bcdc2 Mon Sep 17 00:00:00 2001 From: ZyX Date: Fri, 23 Oct 2015 15:20:38 +0300 Subject: functests: Use . for various folder defaults in tests --- test/functional/helpers.lua | 2 +- test/functional/legacy/072_undo_file_spec.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index a62f7a3d00..8a85f187cf 100644 --- a/test/functional/helpers.lua +++ b/test/functional/helpers.lua @@ -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 diff --git a/test/functional/legacy/072_undo_file_spec.lua b/test/functional/legacy/072_undo_file_spec.lua index b7f7a65b30..ce9129ff43 100644 --- a/test/functional/legacy/072_undo_file_spec.lua +++ b/test/functional/legacy/072_undo_file_spec.lua @@ -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:set ul=100') execute('s/one/ONE/') -- cgit