diff options
author | erw7 <erw7.github@gmail.com> | 2019-01-18 14:11:40 +0900 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-04-01 03:13:11 +0200 |
commit | 3be5aa1a34f63f4e5e2b384098de2020a4c5b3bc (patch) | |
tree | 6bf3ccd551b99d5debb0478093465b511574aee6 /src | |
parent | 35c2ceba9695b2f246c11d4e457acda82bb9cb36 (diff) | |
download | rneovim-3be5aa1a34f63f4e5e2b384098de2020a4c5b3bc.tar.gz rneovim-3be5aa1a34f63f4e5e2b384098de2020a4c5b3bc.tar.bz2 rneovim-3be5aa1a34f63f4e5e2b384098de2020a4c5b3bc.zip |
test/win: executable(), exepath() #9516
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/os/fs.c | 2 | ||||
-rw-r--r-- | src/nvim/testdir/test_functions.vim | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/os/fs.c b/src/nvim/os/fs.c index 9a96241178..b75607b7b1 100644 --- a/src/nvim/os/fs.c +++ b/src/nvim/os/fs.c @@ -276,7 +276,7 @@ bool os_can_exe(const char_u *name, char_u **abspath, bool use_path) } #ifdef WIN32 -/// Returns true if extension of `name` is executalbe file exteinsion. +/// Returns true if extension of `name` is executable file exteinsion. static bool is_extension_executable(const char *name) FUNC_ATTR_NONNULL_ALL { diff --git a/src/nvim/testdir/test_functions.vim b/src/nvim/testdir/test_functions.vim index 13e2dcf804..46c2d0f4cd 100644 --- a/src/nvim/testdir/test_functions.vim +++ b/src/nvim/testdir/test_functions.vim @@ -881,8 +881,8 @@ func Test_Executable() call assert_equal(1, executable('notepad')) call assert_equal(1, executable('notepad.exe')) call assert_equal(0, executable('notepad.exe.exe')) - call assert_equal(1, executable('shell32.dll')) - call assert_equal(1, executable('win.ini')) + call assert_equal(0, executable('shell32.dll')) + call assert_equal(0, executable('win.ini')) elseif has('unix') call assert_equal(1, executable('cat')) call assert_equal(0, executable('nodogshere')) |