aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-13 20:56:41 -0400
committerJan Edmund Lazo <janedmundlazo@hotmail.com>2018-08-13 22:07:25 -0400
commit538ace9aae0c3b9e7e1ef242e00c53df6ec2e7da (patch)
tree1974eb7b6d8b3d948806e68896f1f85386f12fc4 /src
parenta1a5e35e9a80440c8674e9473988ccd66bb39e0c (diff)
downloadrneovim-538ace9aae0c3b9e7e1ef242e00c53df6ec2e7da.tar.gz
rneovim-538ace9aae0c3b9e7e1ef242e00c53df6ec2e7da.tar.bz2
rneovim-538ace9aae0c3b9e7e1ef242e00c53df6ec2e7da.zip
oldtests: win: a directory is not executable
Tests in 'test/functional/core/job_spec.lua' depend on this behavior.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/testdir/test_stat.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_stat.vim b/src/nvim/testdir/test_stat.vim
index be98018904..c276df0a92 100644
--- a/src/nvim/testdir/test_stat.vim
+++ b/src/nvim/testdir/test_stat.vim
@@ -43,7 +43,7 @@ func Test_existent_directory()
call assert_equal(0, getfsize(dname))
call assert_equal('dir', getftype(dname))
- call assert_equal('rwx', getfperm(dname)[0:2])
+ call assert_equal(has('win32') ? 'rw-' : 'rwx', getfperm(dname)[0:2])
endfunc
func SleepForTimestamp()