From ff53c5585f46bed9622bd4a3071c8cf3db96a9ac Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Fri, 9 Jul 2021 15:10:49 +0200 Subject: refactor(undo): don't assume curbuf in u_compute_hash --- test/unit/undo_spec.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit/undo_spec.lua') 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) -- cgit