Mercurial > vim
view src/testdir/unix.vim @ 20470:fafa48fd3461 v8.2.0789
patch 8.2.0789: Vim9: expression testing lost coverage using constants
Commit: https://github.com/vim/vim/commit/66b3101672f7da32df2fd3962d7f14300e7a65f3
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon May 18 13:38:02 2020 +0200
patch 8.2.0789: Vim9: expression testing lost coverage using constants
Problem: Vim9: expression testing lost coverage using constants.
Solution: Use a few variables instead of constants.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 18 May 2020 13:45:03 +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