From 7a56967f8c1d09c1e07af97beec05d1d5e0480c9 Mon Sep 17 00:00:00 2001 From: KillTheMule Date: Thu, 28 Jul 2016 20:35:06 +0200 Subject: [PATCH] A bit of linting --- test/functional/legacy/030_fileformats_spec.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/functional/legacy/030_fileformats_spec.lua b/test/functional/legacy/030_fileformats_spec.lua index 705c0dd61f..31b051a58d 100644 --- a/test/functional/legacy/030_fileformats_spec.lua +++ b/test/functional/legacy/030_fileformats_spec.lua @@ -1,10 +1,8 @@ -- Test for a lot of variations of the 'fileformats' option local helpers = require('test.functional.helpers') -local feed, insert, source, clear, execute, expect, eq, eval, write_file = - helpers.feed, helpers.insert, helpers.source, helpers.clear, - helpers.execute, helpers.expect, helpers.eq, helpers.eval, - helpers.write_file +local feed, clear, execute = helpers.feed, helpers.clear, helpers.execute +local eq, write_file = helpers.eq, helpers.write_file describe('fileformats option', function() setup(function() @@ -23,6 +21,7 @@ describe('fileformats option', function() write_file('XXUxDsMc', unix..dos..mac) write_file('XXUxMac', unix..mac) end) + teardown(function() os.remove('test.out') os.remove('XXDos') @@ -36,7 +35,7 @@ describe('fileformats option', function() os.remove('XXUxMac') for i = 0, 9 do for j = 1, 4 do - os.remove('XXtt'..i..j) + os.remove('XXtt'..i..j) end end end) @@ -156,7 +155,8 @@ describe('fileformats option', function() execute('e! XXUxDsMc') execute('w! XXtt93') - -- Append "END" to each file so that we can see what the last written char was. + -- Append "END" to each file so that we can see what the last written + -- char was. execute('set fileformat=unix nobin') feed('ggdGaEND') execute('w >>XXtt01')