aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-05-26 11:36:18 +0200
committerbfredl <bjorn.linse@gmail.com>2024-05-28 13:36:54 +0200
commitb386334cdbbc3e9d79773243fdbd53091488e14d (patch)
tree83e392c19f1eb5af86027396f3ba6b30e56db8ea /test
parentc272f30b1fdd62ee59fac1004ecde97df4f2bb08 (diff)
downloadrneovim-b386334cdbbc3e9d79773243fdbd53091488e14d.tar.gz
rneovim-b386334cdbbc3e9d79773243fdbd53091488e14d.tar.bz2
rneovim-b386334cdbbc3e9d79773243fdbd53091488e14d.zip
refactor(shada): remove ShaDaReadDef secondary wrapper
`FileDescriptor` is already a wrapper around an fd and a buffer. By allowing to just use the buffer without an fd, it can already handle in-memory reads.
Diffstat (limited to 'test')
-rw-r--r--test/functional/shada/errors_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/shada/errors_spec.lua b/test/functional/shada/errors_spec.lua
index a9084da929..e000d0988b 100644
--- a/test/functional/shada/errors_spec.lua
+++ b/test/functional/shada/errors_spec.lua
@@ -28,7 +28,7 @@ describe('ShaDa error handling', function()
it('fails on zero', function()
wshada('\000')
eq(
- 'Vim(rshada):E576: Error while reading ShaDa file: expected positive integer at position 0, but got nothing',
+ 'Vim(rshada):E576: Error while reading ShaDa file: expected positive integer at position 1, but got nothing',
exc_exec(sdrcmd())
)
end)