aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZyX <kp-pav@yandex.ru>2018-04-02 11:14:11 +0300
committerZyX <kp-pav@yandex.ru>2018-04-02 11:14:11 +0300
commit5d9bb16d66043f10dc14435c0594ca6f31b1795f (patch)
treee81e4d36b45bea3afe51a1291a4d94812a5602ad
parentbdf5f57989858436fed358310624a3ec3bc8c177 (diff)
downloadrneovim-5d9bb16d66043f10dc14435c0594ca6f31b1795f.tar.gz
rneovim-5d9bb16d66043f10dc14435c0594ca6f31b1795f.tar.bz2
rneovim-5d9bb16d66043f10dc14435c0594ca6f31b1795f.zip
functests: Use proper path in `eq()`
-rw-r--r--test/functional/shada/merging_spec.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/functional/shada/merging_spec.lua b/test/functional/shada/merging_spec.lua
index fdd35b70b3..a628baff53 100644
--- a/test/functional/shada/merging_spec.lua
+++ b/test/functional/shada/merging_spec.lua
@@ -670,8 +670,7 @@ describe('ShaDa marks support code', function()
eq({['0']=1, A=1}, found)
end)
- it('uses last A mark with gt timestamp from file when writing',
- function()
+ it('uses last A mark with gt timestamp from file when writing', function()
wshada('\007\001\018\131\162mX\195\161f\196\006' .. mock_file_path .. '-\161nA')
eq(0, exc_exec(sdrcmd()))
wshada('\007\002\018\131\162mX\195\161f\196\006' .. mock_file_path .. '?\161nA')
@@ -687,7 +686,7 @@ describe('ShaDa marks support code', function()
found[name] = t
end
end
- eq({['0']={['/a/b/-']=1}, A={['/a/b/?']=1}}, found)
+ eq({['0']={[mock_file_path .. '-']=1}, A={[mock_file_path .. '?']=1}}, found)
end)
it('uses last a mark with gt timestamp from instance when reading',