diff options
author | Daniel Hahler <git@thequod.de> | 2019-06-12 14:22:42 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-06-12 14:22:42 +0200 |
commit | 6f27f5ef91b3eeeca9fe58f4033e3d273ccc0889 (patch) | |
tree | 4b3a674c45e1160d8cdbc62d17d28f519b09f713 /test | |
parent | babcf641efcbe7e9007285ef9c639da8639e7144 (diff) | |
download | rneovim-6f27f5ef91b3eeeca9fe58f4033e3d273ccc0889.tar.gz rneovim-6f27f5ef91b3eeeca9fe58f4033e3d273ccc0889.tar.bz2 rneovim-6f27f5ef91b3eeeca9fe58f4033e3d273ccc0889.zip |
main: do event_init before early_init #10183
Fixes https://github.com/neovim/neovim/issues/10172
* move log_init to event_init
* move init_signs to end of early_init
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/core/startup_spec.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/core/startup_spec.lua b/test/functional/core/startup_spec.lua index 45bfa93b56..62a45fdf88 100644 --- a/test/functional/core/startup_spec.lua +++ b/test/functional/core/startup_spec.lua @@ -221,6 +221,11 @@ describe('startup', function() clear{args={'--embed'}} eq(2, eval('1+1')) end) + + it('does not crash when expanding cdpath during early_init', function() + clear{env={CDPATH='~doesnotexist'}} + eq(',~doesnotexist', eval('&cdpath')) + end) end) describe('sysinit', function() |