aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillTheMule <KillTheMule@users.noreply.github.com>2016-07-28 20:35:06 +0200
committerJustin M. Keyes <justinkz@gmail.com>2016-07-28 18:50:34 -0400
commit7a56967f8c1d09c1e07af97beec05d1d5e0480c9 (patch)
tree2efbc1e77ce925f68c48c6e48b2636ba4fd25426
parent9b6988e62abbfb13746152c5d0cb4af78dbef5ce (diff)
downloadrneovim-7a56967f8c1d09c1e07af97beec05d1d5e0480c9.tar.gz
rneovim-7a56967f8c1d09c1e07af97beec05d1d5e0480c9.tar.bz2
rneovim-7a56967f8c1d09c1e07af97beec05d1d5e0480c9.zip
A bit of linting
-rw-r--r--test/functional/legacy/030_fileformats_spec.lua12
1 files 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<esc>')
execute('w >>XXtt01')