Mercurial > vim
view src/testdir/unix.vim @ 18143:2416e1a887ca
patch 8.1.2066: no tests for state()
Commit: https://github.com/vim/vim/commit/c2585490321854ca3df115efcf0b40986901d96c
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 22 21:29:53 2019 +0200
patch 8.1.2066: no tests for state()
Problem: No tests for state().
Solution: Add tests. Clean up some feature checks. Make "a" flag work.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 22 Sep 2019 21:30:04 +0200 |
parents | bfd636b8e259 |
children | dbec60b8c253 |
line wrap: on
line source
" Settings for test script execution " Always use "sh", don't use the value of "$SHELL". set shell=sh " Only when the +eval feature is present. if 1 " While some tests overwrite $HOME to prevent them from polluting user files, " we need to remember the original value so that we can tell external systems " where to ask about their own user settings. let g:tester_HOME = $HOME endif source setup.vim