view src/testdir/test_autocmd.vim @ 8913:caffda31048c v7.4.1743

commit https://github.com/vim/vim/commit/75be2339d877bbd38df91c0181e1e0e388852df6 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 14 23:10:40 2016 +0200 patch 7.4.1743 Problem: Clang warns for uninitialzed variable. (Michael Jarvis) Solution: Initialize it.
author Christian Brabandt <cb@256bit.org>
date Thu, 14 Apr 2016 23:15:05 +0200
parents e770986c855a
children c07caeb90a35
line wrap: on
line source

" 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