diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2016-02-15 01:46:04 -0500 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-02-15 01:47:43 -0500 |
commit | 69234f4a76ca334d670bbf1830c5d70f40d0beb8 (patch) | |
tree | ded0780a5de98de9a4e7bc6c6996c37315d4638b | |
parent | 815ba27f753fdf86151d5b64f3edee3c63ce0632 (diff) | |
download | rneovim-69234f4a76ca334d670bbf1830c5d70f40d0beb8.tar.gz rneovim-69234f4a76ca334d670bbf1830c5d70f40d0beb8.tar.bz2 rneovim-69234f4a76ca334d670bbf1830c5d70f40d0beb8.zip |
test: search_mbyte_spec: minor cleanup
mbyte.vim, small.vim are not relevant to migrated legacy tests.
-rw-r--r-- | test/functional/legacy/search_mbyte_spec.lua | 7 |
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('.'))]]) |