aboutsummaryrefslogtreecommitdiff
path: root/test/unit/viml/helpers.lua
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2017-11-05 02:41:44 +0300
committerZyX <kp-pav@yandex.ru>2017-11-06 01:17:39 +0300
commit7bc6de75263f58c6c4f999bc86a6454ae9f28b80 (patch)
tree7d991ea5c093c0e3bf1705fe5a8a40de9402b4f1 /test/unit/viml/helpers.lua
parent07ec709141886c6db4f944665e07a36ef7302eb4 (diff)
downloadrneovim-7bc6de75263f58c6c4f999bc86a6454ae9f28b80.tar.gz
rneovim-7bc6de75263f58c6c4f999bc86a6454ae9f28b80.tar.bz2
rneovim-7bc6de75263f58c6c4f999bc86a6454ae9f28b80.zip
api/vim,functests: Add tests for nvim_parse_expression, fix found bugs
Diffstat (limited to 'test/unit/viml/helpers.lua')
-rw-r--r--test/unit/viml/helpers.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/test/unit/viml/helpers.lua b/test/unit/viml/helpers.lua
index 70949e8278..aeb886a66f 100644
--- a/test/unit/viml/helpers.lua
+++ b/test/unit/viml/helpers.lua
@@ -52,11 +52,6 @@ local function new_pstate(strings)
return ret
end
-local function intchar2lua(ch)
- ch = tonumber(ch)
- return (20 <= ch and ch < 127) and ('%c'):format(ch) or ch
-end
-
local function pline2lua(pline)
return ffi.string(pline.data, pline.size)
end