diff options
author | ZyX <kp-pav@yandex.ru> | 2015-10-23 15:20:38 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2015-10-23 15:56:51 +0300 |
commit | 6b17d35ff19a56171527b34364c88c820e1bcdc2 (patch) | |
tree | f54f97c76db98424781885fd46ef065969a8931f | |
parent | ec1ca54d59e229d89bfae6e6eb9e311fa6cb329e (diff) | |
download | rneovim-6b17d35ff19a56171527b34364c88c820e1bcdc2.tar.gz rneovim-6b17d35ff19a56171527b34364c88c820e1bcdc2.tar.bz2 rneovim-6b17d35ff19a56171527b34364c88c820e1bcdc2.zip |
functests: Use . for various folder defaults in tests
-rw-r--r-- | test/functional/helpers.lua | 2 | ||||
-rw-r--r-- | 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<esc>:set ul=100<cr>') execute('s/one/ONE/') |