test: helpers.execute() => helpers.feed_command()

This commit is contained in:
Justin M. Keyes
2017-04-10 21:54:19 +02:00
parent dab3f86d09
commit 119f0ca854
4 changed files with 30 additions and 38 deletions

View File

@@ -1,6 +1,6 @@
local helpers = require('test.functional.helpers')(after_each)
local clear, insert, eq = helpers.clear, helpers.insert, helpers.eq
local execute, expect = helpers.execute, helpers.expect
local command, expect = helpers.command, helpers.expect
local feed, eval = helpers.feed, helpers.eval
local exc_exec = helpers.exc_exec
@@ -32,7 +32,7 @@ describe('gu and gU', function()
end
before_each(function()
execute('lang ctype tr_TR.UTF-8')
command('lang ctype tr_TR.UTF-8')
end)
it('with default casemap', function()
@@ -46,7 +46,7 @@ describe('gu and gU', function()
end)
it('with casemap=""', function()
execute('set casemap=')
command('set casemap=')
-- expect Turkish locale behavior
insert("iI")
feed("VgU")