comparison src/testdir/unix.vim @ 31849:dbec60b8c253 v9.0.1257

patch 9.0.1257: code style is not check in test scripts Commit: https://github.com/vim/vim/commit/94722c510745a0cfd494c51625a514b92dd2bfb2 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 28 19:19:03 2023 +0000 patch 9.0.1257: code style is not check in test scripts Problem: Code style is not check in test scripts. Solution: Add basic code style check for test files.
author Bram Moolenaar <Bram@vim.org>
date Sat, 28 Jan 2023 20:30:04 +0100
parents bfd636b8e259
children
comparison
equal deleted inserted replaced
31848:b83cac410fcf 31849:dbec60b8c253
1 " Settings for test script execution 1 " Settings for test script execution
2 " Always use "sh", don't use the value of "$SHELL". 2 " Always use "sh", don't use the value of "$SHELL".
3 set shell=sh 3 set shell=sh
4 4
5 " Only when the +eval feature is present. 5 " Only when the +eval feature is present.
6 if 1 6 if 1
7 " While some tests overwrite $HOME to prevent them from polluting user files, 7 " While some tests overwrite $HOME to prevent them from polluting user files,
8 " we need to remember the original value so that we can tell external systems 8 " we need to remember the original value so that we can tell external systems
9 " where to ask about their own user settings. 9 " where to ask about their own user settings.
10 let g:tester_HOME = $HOME 10 let g:tester_HOME = $HOME