Mercurial > vim
annotate src/testdir/unix.vim @ 28643:5be5151ad510
patch 8.2.4845: duplicate code
Commit: https://github.com/vim/vim/commit/590f365f91511c164253c5b5812d4d0fc4a238d6
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri Apr 29 11:29:54 2022 +0100
patch 8.2.4845: duplicate code
Problem: Duplicate code.
Solution: Move code below if/else. (closes https://github.com/vim/vim/issues/10314)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 29 Apr 2022 12:30:03 +0200 |
parents | bfd636b8e259 |
children | dbec60b8c253 |
rev | line source |
---|---|
7 | 1 " Settings for test script execution |
2 " Always use "sh", don't use the value of "$SHELL". | |
3 set shell=sh | |
9501
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
4 |
10791
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
5 " Only when the +eval feature is present. |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
6 if 1 |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
7 " While some tests overwrite $HOME to prevent them from polluting user files, |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
8 " we need to remember the original value so that we can tell external systems |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
9 " where to ask about their own user settings. |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
10 let g:tester_HOME = $HOME |
bfd636b8e259
patch 8.0.0285: tests fail with tiny build on Unix
Christian Brabandt <cb@256bit.org>
parents:
10775
diff
changeset
|
11 endif |
10775
d08655e2633a
patch 8.0.0277: the GUI test may trigger fontconfig and take a long time
Christian Brabandt <cb@256bit.org>
parents:
9501
diff
changeset
|
12 |
9501
f0201deac2a2
commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents:
7
diff
changeset
|
13 source setup.vim |