Daniel Xu
5f1a153831
os/fs: Rename os_file_exists to os_path_exists ( #4973 )
...
Because the old name did not indicate that the function
would return true on directories as well.
2016-07-06 01:40:25 -04:00
John Szakmeister
69d1bc1a47
test/functional: clear the temp directory before each tempfile test
...
It's possible that the first test encounters a temp directory with files
in it, due to a previous test causing the first test to fail. Instead,
let's clean up before and after the test to make sure the temp area is
pristine before and after the test.
2016-05-06 20:53:53 -04:00
Jurica Bradaric
2dfc8de1cf
Merge tempfile.c back into fileio.c
2016-04-20 08:25:51 +02:00
Thiago de Arruda
c8c5af5a7a
test: Ensure proper initialization in unit/helpers.lua
...
Remove helpers.vim_init and simply perform the required initialization in
helpers.lua.
2015-07-01 05:40:53 -03:00
Justin M. Keyes
99a9161bac
unit tests: initialize everything
2014-09-11 08:58:17 +00:00
Justin M. Keyes
f6088e79b0
unit tests: avoid global scope; add missing cimports
...
temporarily comment out call to vim_deltempdir() to avoid segfault
2014-09-11 05:17:52 +00:00
Wayne Rowcliffe
9453b7230b
Statically allocate NameBuff
2014-07-22 05:28:17 -05:00
Pavel Platto
790d81582c
tempfile.c: add tests
2014-07-14 21:14:40 +02:00