mirror of
https://github.com/neovim/neovim.git
synced 2026-02-20 09:19:43 +10:00
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.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user