neovim/test/unit
Justin M. Keyes 8f09fa1a49 os/fs.c: remove os_file_is_readonly()
os_file_is_readonly() in its current form is equivalent to
!os_file_is_writable(). This does not appear to be a bug, because Vim's
use of check_file_readonly() (which we changed to os_file_is_readonly())
is equivalent to !os_file_is_writable() in every case.

os_file_is_readonly() also fails this test:

    returns false if the file is non-read, non-write

A more useful form would define behavior under these cases:

  - path is executable (but not writable)
  - path is non-existent
  - path is directory

But there is no reason for os_file_is_readonly() to exist, so remove it.
2015-08-17 01:15:04 -04:00
..
fixtures queue: Implement a more flexible event queue 2015-08-13 08:46:21 -03:00
os os/fs.c: remove os_file_is_readonly() 2015-08-17 01:15:04 -04:00
buffer_spec.lua test: Ensure proper initialization in unit/helpers.lua 2015-07-01 05:40:53 -03:00
fileio_spec.lua Add tests for buffer.c and fileio.c 2014-07-22 05:28:17 -05:00
formatc.lua test: fix formatc.lua oddity on OSX/gcc 2015-01-16 21:45:00 +01:00
garray_spec.lua unit tests: avoid global scope; add missing cimports 2014-09-11 05:17:52 +00:00
helpers.lua test: Ensure proper initialization in unit/helpers.lua 2015-07-01 05:40:53 -03:00
path_spec.lua tests: Fix test setup/teardown in path_spec.lua #2402 2015-04-12 16:11:50 -04:00
preload.lua tests: prevent busted from reloading the ffi module and others 2015-03-01 15:25:39 -05:00
preprocess.lua unittests: define _Thread_local to be nothing 2015-02-09 05:37:24 -05:00
profile_spec.lua profiling: add tests 2014-07-16 17:12:35 +02:00
queue_spec.lua queue: Implement a more flexible event queue 2015-08-13 08:46:21 -03:00
rbuffer_spec.lua rbuffer: Reimplement as a ring buffer and decouple from rstream 2015-07-01 05:40:53 -03:00
set.lua unittest: convert set.moon to lua 2014-08-31 14:50:49 +02:00
tempfile_spec.lua test: Ensure proper initialization in unit/helpers.lua 2015-07-01 05:40:53 -03:00