diff options
author | James McCoy <jamessan@jamessan.com> | 2016-11-14 16:16:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-14 16:16:18 -0500 |
commit | 0c799a8f10b345236efca08f51ffece0e1d1e85d (patch) | |
tree | 4556d12ec412b0ff6a24aca20171581bea8e92aa /test | |
parent | 4539d867d491c9ca748f3d2de505092c4769824d (diff) | |
parent | 0b686e9b61c92e13c32f1bbc126586437be8aade (diff) | |
download | rneovim-0c799a8f10b345236efca08f51ffece0e1d1e85d.tar.gz rneovim-0c799a8f10b345236efca08f51ffece0e1d1e85d.tar.bz2 rneovim-0c799a8f10b345236efca08f51ffece0e1d1e85d.zip |
Merge pull request #5606 from jamessan/vim-7.4.1658
vim-patch:7.4.1658
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/autocmd/autocmd_spec.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/autocmd/autocmd_spec.lua b/test/functional/autocmd/autocmd_spec.lua index 72aff58d73..162e112047 100644 --- a/test/functional/autocmd/autocmd_spec.lua +++ b/test/functional/autocmd/autocmd_spec.lua @@ -2,6 +2,7 @@ local helpers = require('test.functional.helpers')(after_each) local clear = helpers.clear local command = helpers.command +local eq = helpers.eq local eval = helpers.eval describe('autocmds:', function() @@ -28,4 +29,8 @@ describe('autocmds:', function() command('tabnew') assert.same(expected, eval('g:foo')) end) + + it('v:vim_did_enter is 1 after VimEnter', function() + eq(1, eval('v:vim_did_enter')) + end) end) |