aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-02-28 11:32:25 +0100
committerGitHub <noreply@github.com>2024-02-28 11:32:25 +0100
commitc538ec85220aea11bbdb52028aa335787e9e4f42 (patch)
tree138b11577f1896643fb593481a41c9b841be6362 /test
parent07b4b7524fc7faefb69e5c94d2512eb0807f0593 (diff)
parentde5cf09cf98e20d8d3296ad6933ff2741acf83f7 (diff)
downloadrneovim-c538ec85220aea11bbdb52028aa335787e9e4f42.tar.gz
rneovim-c538ec85220aea11bbdb52028aa335787e9e4f42.tar.bz2
rneovim-c538ec85220aea11bbdb52028aa335787e9e4f42.zip
Merge pull request #27643 from bfredl/metadata2
refactor(metadata): generate all metadata in lua
Diffstat (limited to 'test')
-rw-r--r--test/unit/os/fileio_spec.lua16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/unit/os/fileio_spec.lua b/test/unit/os/fileio_spec.lua
index cc5a0d84c3..617141fd3a 100644
--- a/test/unit/os/fileio_spec.lua
+++ b/test/unit/os/fileio_spec.lua
@@ -65,10 +65,6 @@ local function file_write(fp, buf)
return m.file_write(fp, buf, #buf)
end
-local function msgpack_file_write(fp, buf)
- return m.msgpack_file_write(fp, buf, #buf)
-end
-
local function file_read(fp, size)
local buf = nil
if size == nil then
@@ -391,18 +387,6 @@ describe('file_write', function()
end)
end)
-describe('msgpack_file_write', function()
- itp('can write the whole file at once', function()
- local err, fp = file_open(filec, m.kFileCreateOnly, 384)
- eq(0, err)
- eq(true, fp.wr)
- local wr = msgpack_file_write(fp, fcontents)
- eq(0, wr)
- eq(0, m.file_close(fp, false))
- eq(fcontents, io.open(filec):read('*a'))
- end)
-end)
-
describe('file_skip', function()
itp('can skip 3 bytes', function()
local err, fp = file_open(file1, 0, 384)