diff options
author | Jun T <takimoto-j@kba.biglobe.ne.jp> | 2016-02-11 22:57:06 +0900 |
---|---|---|
committer | Jun T <takimoto-j@kba.biglobe.ne.jp> | 2016-02-12 00:03:39 +0900 |
commit | edbc97225d47f67f00dcc2415cd1b402752f139c (patch) | |
tree | b3775bfea835608180d52f8c0b2f6d72ebbbaed2 | |
parent | adb73b60256048cf36a53d6ff714ca9e7c6134bd (diff) | |
download | rneovim-edbc97225d47f67f00dcc2415cd1b402752f139c.tar.gz rneovim-edbc97225d47f67f00dcc2415cd1b402752f139c.tar.bz2 rneovim-edbc97225d47f67f00dcc2415cd1b402752f139c.zip |
test: shada_spec: resolve symlink
If the build directory path has symlinks in it, 'make functionaltest'
fails at shada_spec.lua:177 because readme_fname has symlink but
nvim resolves the symlink when writing it into the shada file.
-rw-r--r-- | test/functional/shada/shada_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/shada/shada_spec.lua b/test/functional/shada/shada_spec.lua index 2bc855a239..822ab3913c 100644 --- a/test/functional/shada/shada_spec.lua +++ b/test/functional/shada/shada_spec.lua @@ -174,6 +174,7 @@ describe('ShaDa support code', function() nvim_command('set shada+=%') nvim_command('wshada! ' .. shada_fname) local readme_fname = paths.test_source_path .. '/README.md' + readme_fname = helpers.eval( 'resolve("' .. readme_fname .. '")' ) eq({[7]=1, [8]=2, [9]=1, [10]=4, [11]=1}, find_file(readme_fname)) nvim_command('set shada+=r~') nvim_command('wshada! ' .. shada_fname) |