refactor: rename _ensure_integer => _assert_integer

This commit is contained in:
Justin M. Keyes
2026-03-12 17:10:00 +01:00
parent 682c77805c
commit 017d8aa298
14 changed files with 24 additions and 24 deletions

View File

@@ -29,7 +29,7 @@ local function resolve_hash(hash)
else
local c = hash:match('^concat%-(%d+)')
if c then
hash = concat_hash(vim._ensure_integer(c))
hash = concat_hash(vim._assert_integer(c))
else
error('invalid value for hash: ' .. hash)
end