aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorJosh Rahm <rahm@google.com>2022-09-12 10:52:49 -0600
committerJosh Rahm <rahm@google.com>2022-09-12 10:52:49 -0600
commit4889fe01b9853cf98363ac226f95b524801ff3cc (patch)
tree279d43b86561bf1314fdf1cf5c0c9af6aac76b25 /test/functional/helpers.lua
parent8fc6e69877f6c15942b4e8fc6ca471e4221d9bae (diff)
parentfd70e2bff2440181f63fe124738cf2a025d1e6a5 (diff)
downloadrneovim-4889fe01b9853cf98363ac226f95b524801ff3cc.tar.gz
rneovim-4889fe01b9853cf98363ac226f95b524801ff3cc.tar.bz2
rneovim-4889fe01b9853cf98363ac226f95b524801ff3cc.zip
Merge remote-tracking branch 'upstream/master' into usermarks
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua9
1 files changed, 0 insertions, 9 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 981cfc306e..d672037a1e 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -755,15 +755,6 @@ function module.pending_win32(pending_fn)
end
end
-function module.pending_c_parser(pending_fn)
- local status, _ = unpack(module.exec_lua([[ return {pcall(vim.treesitter.require_language, 'c')} ]]))
- if not status then
- pending_fn 'no C parser, skipping'
- return true
- end
- return false
-end
-
-- Calls pending() and returns `true` if the system is too slow to
-- run fragile or expensive tests. Else returns `false`.
function module.skip_fragile(pending_fn, cond)