nfnty
7a344c795f
path.c: vim_FullName()
: Fix heap overflow #5737
...
- Clarify documentation.
- Return `FAIL` and truncate if `fname` is too long.
- Add tests.
2017-01-05 15:17:34 +01:00
Marco Hinz
32ecd75a16
test/unit: clean up according to luacheck
2015-11-23 13:57:21 +01:00
Thiago de Arruda
c708061a5a
os/path: Fix path_get_absolute_path for top-level paths
...
Close #2833
2015-09-18 14:35:26 -03:00
David Bürgin
e129e2792d
tests: Fix test setup/teardown in path_spec.lua #2402
...
A call to lfs.mkdir instead of lfs.rmdir left a temp directory hanging
around. Changed to do proper setup/teardown using {before,after}_each.
Helped-by: Scott Prager <splinterofchaos@gmail.com >
Suggested-by: Scott Prager <splinterofchaos@gmail.com >
2015-04-12 16:11:50 -04:00
Scott Prager
93bfe6a400
path_fix_case: unit test
2015-03-31 11:20:24 -03: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
Thiago de Arruda
df50d242f5
unittest: convert path_spec.moon to lua
2014-08-31 14:50:49 +02:00