diff options
author | ZyX <kp-pav@yandex.ru> | 2017-04-09 01:38:50 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-04-09 03:24:09 +0300 |
commit | a1b81f7ecad0c0b60aab536b09d6ea94f41626c3 (patch) | |
tree | 58bed4a98964b34bacbeecaf01bff66208f0c9a9 | |
parent | 65fb622000af8e3dbb65480e1581758ecf4ba3e2 (diff) | |
download | rneovim-a1b81f7ecad0c0b60aab536b09d6ea94f41626c3.tar.gz rneovim-a1b81f7ecad0c0b60aab536b09d6ea94f41626c3.tar.bz2 rneovim-a1b81f7ecad0c0b60aab536b09d6ea94f41626c3.zip |
functests: Fix legacy/030_fileformats_spec test
For some reason it had a number of not working bwipeout! commands. execute()
successfully hid the failures, command() is not that permissive.
-rw-r--r-- | test/functional/legacy/030_fileformats_spec.lua | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/legacy/030_fileformats_spec.lua b/test/functional/legacy/030_fileformats_spec.lua index aadc6d60c2..7384fdf847 100644 --- a/test/functional/legacy/030_fileformats_spec.lua +++ b/test/functional/legacy/030_fileformats_spec.lua @@ -111,7 +111,7 @@ describe('fileformats option', function() feed('ggO<C-R>=&ffs<CR>:<C-R>=&ff<CR><ESC>') wait() command('w! XXtt54') - command('bwipe XXEol') + command('bwipeout! XXEol') command('set fileformats=dos,mac') command('e! XXUxDs') command('w! XXtt61') @@ -120,7 +120,7 @@ describe('fileformats option', function() feed('ggO<C-R>=&ffs<CR>:<C-R>=&ff<CR><ESC>') wait() command('w! XXtt62') - command('bwipe XXUxMac') + command('bwipeout! XXUxMac') command('e! XXUxDsMc') command('w! XXtt63') command('bwipe XXUxDsMc') @@ -128,7 +128,7 @@ describe('fileformats option', function() feed('ggO<C-R>=&ffs<CR>:<C-R>=&ff<CR><ESC>') wait() command('w! XXtt64') - command('bwipe XXMacEol') + command('bwipeout! XXMacEol') -- Try reading and writing with 'fileformats' set to three formats. command('set fileformats=unix,dos,mac') @@ -139,7 +139,7 @@ describe('fileformats option', function() feed('ggO<C-R>=&ffs<CR>:<C-R>=&ff<CR><ESC>') wait() command('w! XXtt72') - command('bwipe XXEol') + command('bwipeout! XXEol') command('set fileformats=mac,dos,unix') command('e! XXUxDsMc') command('w! XXtt81') @@ -148,7 +148,7 @@ describe('fileformats option', function() feed('ggO<C-R>=&ffs<CR>:<C-R>=&ff<CR><ESC>') wait() command('w! XXtt82') - command('bwipe XXEol') + command('bwipeout! XXEol') -- Try with 'binary' set. command('set fileformats=mac,unix,dos') command('set binary') |