Merge #4140 'vim-patch:7.4.771'.

This commit is contained in:
Justin M. Keyes
2016-02-15 01:48:30 -05:00
4 changed files with 45 additions and 15 deletions

View File

@@ -0,0 +1,26 @@
local helpers = require('test.functional.helpers')
local insert = helpers.insert
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
describe('search_mbyte', function()
before_each(clear)
it("search('multi-byte char', 'bce')", function()
insert([=[
Results:
Test bce:
]=])
execute('/^Test bce:/+1')
execute([[$put =search('', 'bce', line('.'))]])
-- Assert buffer contents.
expect([=[
Results:
Test bce:
4]=])
end)
end)