aboutsummaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-04-03 03:07:01 +0300
committerZyX <kp-pav@yandex.ru>2017-04-03 03:07:01 +0300
commitdc75766081e143401ae28bea66f970ab005402fc (patch)
treeabcc98dc3cfdcc188345f9b2169633d6328fc654 /test/unit
parent991204310399d4dcaf5f5ee7571eff178c93e793 (diff)
downloadrneovim-dc75766081e143401ae28bea66f970ab005402fc.tar.gz
rneovim-dc75766081e143401ae28bea66f970ab005402fc.tar.bz2
rneovim-dc75766081e143401ae28bea66f970ab005402fc.zip
tests: Fix testlint errors
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/os/fileio_spec.lua2
1 files changed, 2 insertions, 0 deletions
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)