From a1b81f7ecad0c0b60aab536b09d6ea94f41626c3 Mon Sep 17 00:00:00 2001 From: ZyX Date: Sun, 9 Apr 2017 01:38:50 +0300 Subject: [PATCH] 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. --- test/functional/legacy/030_fileformats_spec.lua | 10 +++++----- 1 file 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=&ffs:=&ff') 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=&ffs:=&ff') 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=&ffs:=&ff') 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=&ffs:=&ff') 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=&ffs:=&ff') wait() command('w! XXtt82') - command('bwipe XXEol') + command('bwipeout! XXEol') -- Try with 'binary' set. command('set fileformats=mac,unix,dos') command('set binary')