aboutsummaryrefslogtreecommitdiff
path: root/test/functional/helpers.lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2022-09-04 16:13:37 +0200
committerChristian Clason <c.clason@uni-graz.at>2022-09-06 07:57:46 +0200
commit6254b0fd3bc725705020192dc9e35635136b9929 (patch)
tree3e3c069c8fc12f8bab6400d9ff105a9050eac617 /test/functional/helpers.lua
parent905dd49fece0903dba4e5a618f503d0237415b14 (diff)
downloadrneovim-6254b0fd3bc725705020192dc9e35635136b9929.tar.gz
rneovim-6254b0fd3bc725705020192dc9e35635136b9929.tar.bz2
rneovim-6254b0fd3bc725705020192dc9e35635136b9929.zip
ci(tests): don't skip parsers on functionaltest
Treesitter parsers are now a mandatory part of the installation and should be tested on all platforms. Remove `pending_c_parser` helper.
Diffstat (limited to 'test/functional/helpers.lua')
-rw-r--r--test/functional/helpers.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/test/functional/helpers.lua b/test/functional/helpers.lua
index 93fb0f245e..d672037a1e 100644
--- a/test/functional/helpers.lua
+++ b/test/functional/helpers.lua
@@ -755,16 +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
- module.exec_lua [[vim._ts_remove_language 'c']]
- 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)