aboutsummaryrefslogtreecommitdiff
path: root/test/functional/shada/compatibility_spec.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/shada/compatibility_spec.lua')
-rw-r--r--test/functional/shada/compatibility_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/shada/compatibility_spec.lua b/test/functional/shada/compatibility_spec.lua
index 13d4c44657..485e8a183c 100644
--- a/test/functional/shada/compatibility_spec.lua
+++ b/test/functional/shada/compatibility_spec.lua
@@ -39,7 +39,7 @@ describe('ShaDa forward compatibility support code', function()
nvim_command('wshada ' .. shada_fname)
found = false
for _, v in ipairs(read_shada_file(shada_fname)) do
- if v.type == 2 and v.value.ss then
+ if v.type == 2 and not v.value.ss then
eq(nil, v.value.sX)
found = true
end