aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-04-02 12:40:36 +0200
committerGitHub <noreply@github.com>2019-04-02 12:40:36 +0200
commit8eaa452073a1be59234642dba347316226f1dcb1 (patch)
tree38ed586e8801ff20929fb03c3995ddf2c936904a /src/nvim/testdir
parent35362495c965554f45634bcde3c4ce6d5eca52aa (diff)
parentc7039fd0d3f6f5d7c8699fd88095e100f0754e59 (diff)
downloadrneovim-8eaa452073a1be59234642dba347316226f1dcb1.tar.gz
rneovim-8eaa452073a1be59234642dba347316226f1dcb1.tar.bz2
rneovim-8eaa452073a1be59234642dba347316226f1dcb1.zip
Merge #9516 from erw7/improve-executable-on-windows
Improve executable() and exepath() on windows
Diffstat (limited to 'src/nvim/testdir')
-rw-r--r--src/nvim/testdir/test_functions.vim4
1 files changed, 2 insertions, 2 deletions
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'))