diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2015-06-30 11:32:14 +0200 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2015-09-08 10:54:31 +0200 |
commit | ffff2c9c47e63f1764ca743810a259d607f75104 (patch) | |
tree | 820bbb33a041793b198416210adf1d15ec295ac2 /test/functional/helpers.lua | |
parent | e99368104ac5883742c44f8d21692af878257d7b (diff) | |
download | rneovim-ffff2c9c47e63f1764ca743810a259d607f75104.tar.gz rneovim-ffff2c9c47e63f1764ca743810a259d607f75104.tar.bz2 rneovim-ffff2c9c47e63f1764ca743810a259d607f75104.zip |
encoding: Update handling of encoding in tests
Always run tests with encoding=utf-8, regardless of user locale
Don't set &encoding after startup in tests
Helped-By: Michael Reed <m.reed@mykolab.com>
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r-- | test/functional/helpers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua index f228f6290c..6c0288087a 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', + '--cmd', 'set shortmess+=I background=light noswapfile noautoindent laststatus=1 encoding=utf-8', '--embed'} -- Formulate a path to the directory containing nvim. We use this to |