diff options
author | ZyX <kp-pav@yandex.ru> | 2016-05-31 15:41:24 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2016-05-31 15:41:24 +0300 |
commit | c571e802737f72cd2aa8c10bfc8c87aa72db1847 (patch) | |
tree | 06593cec068d9659202cbb1cde18699402e45c15 /test/unit/os/shell_spec.lua | |
parent | bd9715a9b565be67869ea0d8c8eb162954ffb7bb (diff) | |
download | rneovim-c571e802737f72cd2aa8c10bfc8c87aa72db1847.tar.gz rneovim-c571e802737f72cd2aa8c10bfc8c87aa72db1847.tar.bz2 rneovim-c571e802737f72cd2aa8c10bfc8c87aa72db1847.zip |
unittests: Also remove event_teardown
`event_teardown` is there from 974752c, by aktau. It was introduced with
`init_homedir` and `event_init`. Then both were removed by justinmk in
99a9161bace8200aa611f6feefcc2ac3eda93251 (`init_homedir`) and
49c5689f45b9f222ed58e18e55678df7fb971ee8 (`event_init`), but `event_teardown`
was not removed. Now this may cause a crash. More details in #4852.
Closes #4852
Diffstat (limited to 'test/unit/os/shell_spec.lua')
-rw-r--r-- | test/unit/os/shell_spec.lua | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/unit/os/shell_spec.lua b/test/unit/os/shell_spec.lua index 93103e4e8c..906f950308 100644 --- a/test/unit/os/shell_spec.lua +++ b/test/unit/os/shell_spec.lua @@ -30,10 +30,6 @@ describe('shell functions', function() cimported.p_shcf = to_cstr('-c') end) - teardown(function() - cimported.event_teardown() - end) - local function shell_build_argv(cmd, extra_args) local res = cimported.shell_build_argv( cmd and to_cstr(cmd), |