aboutsummaryrefslogtreecommitdiff
path: root/test/unit/path_spec.lua
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-09-17 00:39:33 +0200
committerGitHub <noreply@github.com>2019-09-17 00:39:33 +0200
commit0b71bb73e8431400c870dcd458f322dc50da96d1 (patch)
treee212a952663ba3228905889437cd459407b4fd25 /test/unit/path_spec.lua
parent4b2d7bb5eafde6edbbd55b563e8f73dba4165853 (diff)
downloadrneovim-0b71bb73e8431400c870dcd458f322dc50da96d1.tar.gz
rneovim-0b71bb73e8431400c870dcd458f322dc50da96d1.tar.bz2
rneovim-0b71bb73e8431400c870dcd458f322dc50da96d1.zip
tests: improve error message with literat "~" directory (#11032)
Diffstat (limited to 'test/unit/path_spec.lua')
-rw-r--r--test/unit/path_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/path_spec.lua b/test/unit/path_spec.lua
index e8ce660ce1..da52af1bf9 100644
--- a/test/unit/path_spec.lua
+++ b/test/unit/path_spec.lua
@@ -456,7 +456,7 @@ describe('path.c', function()
end)
itp('fails and uses filename when the path is relative to HOME', function()
- eq(false, cimp.os_isdir('~')) -- sanity check: no literal "~" directory.
+ eq(false, cimp.os_isdir('~'), 'sanity check: no literal "~" directory')
local absolute_path = '~/home.file'
local buflen = string.len(absolute_path) + 1
local do_expand = 1