diff options
author | ZyX <kp-pav@yandex.ru> | 2017-04-03 03:07:01 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-04-03 03:07:01 +0300 |
commit | dc75766081e143401ae28bea66f970ab005402fc (patch) | |
tree | abcc98dc3cfdcc188345f9b2169633d6328fc654 | |
parent | 991204310399d4dcaf5f5ee7571eff178c93e793 (diff) | |
download | rneovim-dc75766081e143401ae28bea66f970ab005402fc.tar.gz rneovim-dc75766081e143401ae28bea66f970ab005402fc.tar.bz2 rneovim-dc75766081e143401ae28bea66f970ab005402fc.zip |
tests: Fix testlint errors
-rw-r--r-- | test/functional/ui/cursor_spec.lua | 5 | ||||
-rw-r--r-- | test/unit/os/fileio_spec.lua | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/test/functional/ui/cursor_spec.lua b/test/functional/ui/cursor_spec.lua index 8b42c193ab..56f02e4e7f 100644 --- a/test/functional/ui/cursor_spec.lua +++ b/test/functional/ui/cursor_spec.lua @@ -1,8 +1,7 @@ local helpers = require('test.functional.helpers')(after_each) local Screen = require('test.functional.ui.screen') -local clear, feed, meths = helpers.clear, helpers.feed, helpers.meths -local insert, execute = helpers.insert, helpers.execute -local eq, funcs = helpers.eq, helpers.funcs +local clear, meths = helpers.clear, helpers.meths +local eq = helpers.eq local command = helpers.command describe('ui/cursor', function() diff --git a/test/unit/os/fileio_spec.lua b/test/unit/os/fileio_spec.lua index 6c1ae73847..e3c8e616ce 100644 --- a/test/unit/os/fileio_spec.lua +++ b/test/unit/os/fileio_spec.lua @@ -234,6 +234,7 @@ end) describe('file_close', function() itp('can flush writes to disk also with true argument', function() local err, fp = file_open(filec, m.kFileCreateOnly, 384) + eq(0, err) local wsize = file_write(fp, 'test') eq(4, wsize) eq(0, lfs.attributes(filec).size) @@ -245,6 +246,7 @@ end) describe('file_free', function() itp('can flush writes to disk also with true argument', function() local err, fp = file_open_new(filec, m.kFileCreateOnly, 384) + eq(0, err) local wsize = file_write(fp, 'test') eq(4, wsize) eq(0, lfs.attributes(filec).size) |