aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-12-07 01:14:21 -0500
committerGitHub <noreply@github.com>2021-12-07 01:14:21 -0500
commitafaad8b54ebd2ad4ba2145f4069f5017cace3c8f (patch)
tree462cb857957f22fa3f8111d766c27907aebb19b4 /test/functional/legacy
parentbf9e8a9df90941320ed898ac4c6351b78366a0a8 (diff)
parent6e3e8c51c0919df4d407b323d0e9237c278e2c23 (diff)
downloadrneovim-afaad8b54ebd2ad4ba2145f4069f5017cace3c8f.tar.gz
rneovim-afaad8b54ebd2ad4ba2145f4069f5017cace3c8f.tar.bz2
rneovim-afaad8b54ebd2ad4ba2145f4069f5017cace3c8f.zip
Merge pull request #16194 from seandewar/vim-8.1.1925
vim-patch:7.4.1777,8.1.{1925,1995,2011,2012,2013,2166},8.2.{0532,0871,1168,1241,3576}
Diffstat (limited to 'test/functional/legacy')
-rw-r--r--test/functional/legacy/searchpos_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/legacy/searchpos_spec.lua b/test/functional/legacy/searchpos_spec.lua
index 60f1edcd3f..fc18341c38 100644
--- a/test/functional/legacy/searchpos_spec.lua
+++ b/test/functional/legacy/searchpos_spec.lua
@@ -17,7 +17,7 @@ describe('searchpos', function()
call('cursor', 1, 1)
eq({1, 1, 2}, eval([[searchpos('\%(\([a-z]\)\|\_.\)\{-}xyz', 'pcW')]]))
call('cursor', 1, 2)
- eq({2, 1, 1}, eval([[searchpos('\%(\([a-z]\)\|\_.\)\{-}xyz', 'pcW')]]))
+ eq({2, 1, 1}, eval([['\%(\([a-z]\)\|\_.\)\{-}xyz'->searchpos('pcW')]]))
command('set cpo-=c')
call('cursor', 1, 2)