diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-05-15 14:53:31 +0200 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-05-15 14:53:31 +0200 |
commit | 8e052f677ee80414a4ef635afb5ce0f323f602f3 (patch) | |
tree | eec3e95d46c59360f08457cd4cb1f040069d2cae /test/functional/ex_cmds/encoding_spec.lua | |
parent | 6e4e70f51b8a889d38fe5d954d9ac817750424c3 (diff) | |
parent | 8d8b6224d941567aeefc67beb471aea36b8bdc05 (diff) | |
download | rneovim-8e052f677ee80414a4ef635afb5ce0f323f602f3.tar.gz rneovim-8e052f677ee80414a4ef635afb5ce0f323f602f3.tar.bz2 rneovim-8e052f677ee80414a4ef635afb5ce0f323f602f3.zip |
Merge #6737 "options: make 'highlight' read-only"
Diffstat (limited to 'test/functional/ex_cmds/encoding_spec.lua')
-rw-r--r-- | test/functional/ex_cmds/encoding_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/ex_cmds/encoding_spec.lua b/test/functional/ex_cmds/encoding_spec.lua index 0769259be4..7f2bd78a47 100644 --- a/test/functional/ex_cmds/encoding_spec.lua +++ b/test/functional/ex_cmds/encoding_spec.lua @@ -15,7 +15,7 @@ describe('&encoding', function() feed_command('set encoding=latin1') -- error message expected feed('<cr>') - neq(nil, string.find(eval('v:errmsg'), '^E474:')) + neq(nil, string.find(eval('v:errmsg'), '^E519:')) eq('utf-8', eval('&encoding')) -- check nvim is still in utf-8 mode eq(3, eval('strwidth("Bär")')) @@ -25,7 +25,7 @@ describe('&encoding', function() clear('--cmd', 'set enc=latin1') -- error message expected feed('<cr>') - neq(nil, string.find(eval('v:errmsg'), '^E474:')) + neq(nil, string.find(eval('v:errmsg'), '^E519:')) eq('utf-8', eval('&encoding')) eq(3, eval('strwidth("Bär")')) end) |