From b0fc6108c923a198325354ae36b71f90c4c68e19 Mon Sep 17 00:00:00 2001 From: Michael Ennen Date: Thu, 5 Jan 2017 17:13:23 -0700 Subject: vim-patch:7.4.1727 Problem: Cannot detect a crash in tests when caused by garbagecollect(). Solution: Add garbagecollect_for_testing(). Do not free a job if is still useful. https://github.com/vim/vim/commit/ebf7dfa6f121c82f97d2adca3d45fbaba9ad8f7e --- src/nvim/eval.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'src/nvim/eval.lua') diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 964b061e95..7fe32b264e 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -303,6 +303,7 @@ return { tanh={args=1, func="float_op_wrapper", data="&tanh"}, tempname={}, termopen={args={1, 2}}, + test_garbagecollect_now={}, timer_start={args={2,3}}, timer_stop={args=1}, tolower={args=1}, -- cgit