aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_options.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-02-07 06:04:40 +0800
committerGitHub <noreply@github.com>2022-02-07 06:04:40 +0800
commit380bc4fe22e8dbd478e58d568e0d749df439fec9 (patch)
tree9882e065f6e6fb118ace1353ad547f19bae9e877 /src/nvim/testdir/test_options.vim
parente2466d84bc818c8e61751972b501551aab07d13c (diff)
parentfe621b4ac01c6865650794b8e986665be4fe0ae7 (diff)
downloadrneovim-380bc4fe22e8dbd478e58d568e0d749df439fec9.tar.gz
rneovim-380bc4fe22e8dbd478e58d568e0d749df439fec9.tar.bz2
rneovim-380bc4fe22e8dbd478e58d568e0d749df439fec9.zip
Merge pull request #17299 from zeertzjq/vim-8.1.0711
vim-patch:7.4.{1163,1164,1167,1173,1178,1181,1228},8.1.0711
Diffstat (limited to 'src/nvim/testdir/test_options.vim')
-rw-r--r--src/nvim/testdir/test_options.vim14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/testdir/test_options.vim b/src/nvim/testdir/test_options.vim
index f7bfa48943..a5adb5ff16 100644
--- a/src/nvim/testdir/test_options.vim
+++ b/src/nvim/testdir/test_options.vim
@@ -22,16 +22,16 @@ func Test_whichwrap()
call assert_equal('h', &whichwrap)
set whichwrap&
-endfunction
+endfunc
-function! Test_isfname()
+func Test_isfname()
" This used to cause Vim to access uninitialized memory.
set isfname=
call assert_equal("~X", expand("~X"))
set isfname&
-endfunction
+endfunc
-function Test_wildchar()
+func Test_wildchar()
" Empty 'wildchar' used to access invalid memory.
call assert_fails('set wildchar=', 'E521:')
call assert_fails('set wildchar=abc', 'E521:')
@@ -42,7 +42,7 @@ function Test_wildchar()
let a=execute('set wildchar?')
call assert_equal("\n wildchar=<Esc>", a)
set wildchar&
-endfunction
+endfunc
func Test_wildoptions()
set wildoptions=
@@ -90,7 +90,7 @@ func Test_options_command()
close
endfunc
-function! Test_path_keep_commas()
+func Test_path_keep_commas()
" Test that changing 'path' keeps two commas.
set path=foo,,bar
set path-=bar
@@ -98,7 +98,7 @@ function! Test_path_keep_commas()
call assert_equal('foo,,bar', &path)
set path&
-endfunction
+endfunc
func Test_filetype_valid()
set ft=valid_name