diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-03-18 20:49:42 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-18 20:49:42 -0400 |
| commit | 0f7b6b2efd4270545f2080ae91ad241189e00d67 (patch) | |
| tree | 1ce94fb5770691bf7ba384cc3bbd092ee521a4fc /src/nvim/testdir/test_startup.vim | |
| parent | b5926f7f27d6d87e2c5115b9b39c3f009c6ea5ca (diff) | |
| parent | bd2ea22a54b875ce66595e10fd9354ad31276801 (diff) | |
| download | rneovim-0f7b6b2efd4270545f2080ae91ad241189e00d67.tar.gz rneovim-0f7b6b2efd4270545f2080ae91ad241189e00d67.tar.bz2 rneovim-0f7b6b2efd4270545f2080ae91ad241189e00d67.zip | |
Merge pull request #14155 from janlazo/vim-8.2.2609
vim-patch:8.2.{2609,2611}
Diffstat (limited to 'src/nvim/testdir/test_startup.vim')
| -rw-r--r-- | src/nvim/testdir/test_startup.vim | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/nvim/testdir/test_startup.vim b/src/nvim/testdir/test_startup.vim index eebf85af6f..4d1ad10c23 100644 --- a/src/nvim/testdir/test_startup.vim +++ b/src/nvim/testdir/test_startup.vim @@ -111,7 +111,8 @@ func Test_pack_in_rtp_when_plugins_run() endfunc func Test_help_arg() - CheckNotMSWindows + " This does not work with a GUI-only binary, such as on MS-Windows. + CheckAnyOf Unix NotGui if RunVim([], [], '--help >Xtestout') let lines = readfile('Xtestout') @@ -427,7 +428,7 @@ endfunction " Test the -reverse and +reverse arguments (for GUI only). func Test_reverse() CheckCanRunGui - CheckNotMSWindows + CheckAnyOf Feature:gui_gtk Feature:gui_motif Feature:gui_athena let after =<< trim [CODE] call writefile([&background], "Xtest_reverse") @@ -448,7 +449,7 @@ endfunc " Test the -background and -foreground arguments (for GUI only). func Test_background_foreground() CheckCanRunGui - CheckNotMSWindows + CheckAnyOf Feature:gui_gtk Feature:gui_motif Feature:gui_athena " Is there a better way to check the effect of -background & -foreground " other than merely looking at &background (dark or light)? @@ -497,7 +498,7 @@ endfunc " Test the -geometry argument (for GUI only). func Test_geometry() CheckCanRunGui - CheckNotMSWindows + CheckAnyOf Feature:gui_gtk Feature:gui_motif Feature:gui_athena if has('gui_motif') || has('gui_athena') " FIXME: With GUI Athena or Motif, the value of getwinposx(), @@ -529,7 +530,7 @@ endfunc " Test the -iconic argument (for GUI only). func Test_iconic() CheckCanRunGui - CheckNotMSWindows + CheckAnyOf Feature:gui_gtk Feature:gui_motif Feature:gui_athena call RunVim([], [], '-f -g -iconic -cq') |