aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/functional/legacy/search_mbyte_spec.lua7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/functional/legacy/search_mbyte_spec.lua b/test/functional/legacy/search_mbyte_spec.lua
index d807e69b68..075b24b897 100644
--- a/test/functional/legacy/search_mbyte_spec.lua
+++ b/test/functional/legacy/search_mbyte_spec.lua
@@ -1,5 +1,3 @@
--- Test for search('multi-byte char', 'bce')
-
local helpers = require('test.functional.helpers')
local insert = helpers.insert
local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
@@ -7,16 +5,13 @@ local clear, execute, expect = helpers.clear, helpers.execute, helpers.expect
describe('search_mbyte', function()
before_each(clear)
- it('is working', function()
+ it("search('multi-byte char', 'bce')", function()
insert([=[
Results:
Test bce:
A]=])
- execute('source small.vim')
- execute('source mbyte.vim')
- execute('set encoding=utf-8')
execute('/^Test bce:/+1')
execute([[$put =search('A', 'bce', line('.'))]])