aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2016-11-14 16:16:18 -0500
committerGitHub <noreply@github.com>2016-11-14 16:16:18 -0500
commit0c799a8f10b345236efca08f51ffece0e1d1e85d (patch)
tree4556d12ec412b0ff6a24aca20171581bea8e92aa /src/nvim/testdir
parent4539d867d491c9ca748f3d2de505092c4769824d (diff)
parent0b686e9b61c92e13c32f1bbc126586437be8aade (diff)
downloadrneovim-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 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_alot.vim1
-rw-r--r--src/nvim/testdir/test_autocmd.vim8
2 files changed, 9 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_alot.vim b/src/nvim/testdir/test_alot.vim
index 87c1cd2c58..60f264fb3f 100644
--- a/src/nvim/testdir/test_alot.vim
+++ b/src/nvim/testdir/test_alot.vim
@@ -2,6 +2,7 @@
" This makes testing go faster, since Vim doesn't need to restart.
source test_assign.vim
+source test_autocmd.vim
source test_cursor_func.vim
source test_ex_undo.vim
source test_expr.vim
diff --git a/src/nvim/testdir/test_autocmd.vim b/src/nvim/testdir/test_autocmd.vim
new file mode 100644
index 0000000000..12c984888e
--- /dev/null
+++ b/src/nvim/testdir/test_autocmd.vim
@@ -0,0 +1,8 @@
+" Tests for autocommands
+
+func Test_vim_did_enter()
+ call assert_false(v:vim_did_enter)
+
+ " This script will never reach the main loop, can't check if v:vim_did_enter
+ " becomes one.
+endfunc