diff options
author | Thomas Vigouroux <tomvig38@gmail.com> | 2021-07-09 15:10:49 +0200 |
---|---|---|
committer | Thomas Vigouroux <tomvig38@gmail.com> | 2021-07-09 15:36:07 +0200 |
commit | ff53c5585f46bed9622bd4a3071c8cf3db96a9ac (patch) | |
tree | d2f172e88748cf248be97dc0a4e5218d9ca71eec /test/unit/undo_spec.lua | |
parent | 9132b76da6c22bdd96af62113ff23e408fcc2ae7 (diff) | |
download | rneovim-ff53c5585f46bed9622bd4a3071c8cf3db96a9ac.tar.gz rneovim-ff53c5585f46bed9622bd4a3071c8cf3db96a9ac.tar.bz2 rneovim-ff53c5585f46bed9622bd4a3071c8cf3db96a9ac.zip |
refactor(undo): don't assume curbuf in u_compute_hash
Diffstat (limited to 'test/unit/undo_spec.lua')
-rw-r--r-- | test/unit/undo_spec.lua | 2 |
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) |