diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-02-18 13:16:30 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-02-18 13:16:30 -0300 |
commit | e7c945ab597aff7af2611ca9bffa4a11e18c0a87 (patch) | |
tree | 45e87e5fb1755ce2cdbc5a47e85c43fd40704395 /test/functional/ui/input_spec.lua | |
parent | 25ceadab37edba13f5afa78d8b4723da03ef35f0 (diff) | |
download | rneovim-e7c945ab597aff7af2611ca9bffa4a11e18c0a87.tar.gz rneovim-e7c945ab597aff7af2611ca9bffa4a11e18c0a87.tar.bz2 rneovim-e7c945ab597aff7af2611ca9bffa4a11e18c0a87.zip |
input: Escape utf8 sequences that contain CSI/K_SPECIAL
Diffstat (limited to 'test/functional/ui/input_spec.lua')
-rw-r--r-- | test/functional/ui/input_spec.lua | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/functional/ui/input_spec.lua b/test/functional/ui/input_spec.lua index 60a49c4ed7..81af908045 100644 --- a/test/functional/ui/input_spec.lua +++ b/test/functional/ui/input_spec.lua @@ -1,6 +1,7 @@ local helpers = require('test.functional.helpers') local clear, execute, nvim = helpers.clear, helpers.execute, helpers.nvim local feed, next_message, eq = helpers.feed, helpers.next_message, helpers.eq +local expect = helpers.expect describe('mappings', function() local cid @@ -38,3 +39,10 @@ describe('mappings', function() check_mapping('<a-s-c-up>', '<c-s-a-up>') end) end) + +describe('input utf sequences that contain CSI/K_SPECIAL', function() + it('ok', function() + feed('i…<esc>') + expect('…') + end) +end) |