aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-07-09 18:52:26 +0200
committerGitHub <noreply@github.com>2021-07-09 18:52:26 +0200
commit37af69285aa10b423ddaac5176328b4728012e0a (patch)
tree7d9edabdf4356b01e4a0798e5b9e6431f264db74 /test
parent191d3e6af7a248c86f0adde22b7768095f9c0356 (diff)
parentff53c5585f46bed9622bd4a3071c8cf3db96a9ac (diff)
downloadrneovim-37af69285aa10b423ddaac5176328b4728012e0a.tar.gz
rneovim-37af69285aa10b423ddaac5176328b4728012e0a.tar.bz2
rneovim-37af69285aa10b423ddaac5176328b4728012e0a.zip
Merge pull request #15036 from vigoux/decurbuf-2
refactor(undo): don't assume curbuf in u_compute_hash
Diffstat (limited to 'test')
-rw-r--r--test/unit/undo_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/undo_spec.lua b/test/unit/undo_spec.lua
index 616c6fbe3d..f7f8d26d58 100644
--- a/test/unit/undo_spec.lua
+++ b/test/unit/undo_spec.lua
@@ -38,7 +38,7 @@ child_call_once(function()
--
-- compute a hash for this undofile
buffer_hash = ffi.new('char_u[32]')
- undo.u_compute_hash(buffer_hash)
+ undo.u_compute_hash(file_buffer, buffer_hash)
end)