diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2016-03-06 19:48:36 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2016-03-07 03:58:35 -0300 |
commit | c6ec148f2dfc837592d41720e5dc42bbe4e4eb78 (patch) | |
tree | 1ff44ec69ddc0b44d0a0ca7e6012ff0fdb8ffb47 /test/functional/legacy/061_undo_tree_spec.lua | |
parent | 35d8d10a6ac924f3e64dda8c0df46d1f62da5b0a (diff) | |
download | rneovim-c6ec148f2dfc837592d41720e5dc42bbe4e4eb78.tar.gz rneovim-c6ec148f2dfc837592d41720e5dc42bbe4e4eb78.tar.bz2 rneovim-c6ec148f2dfc837592d41720e5dc42bbe4e4eb78.zip |
Rewrite hexadecimal escape sequences as decimal in lua strings
The hexadecimal notation is a Luajit extension which is not compatible with Lua
5.1. While Lua 5.2 does support hexadecimal sequences, it is better to target
Lua 5.1 for maximum compatibility with Luajit(which has fully compatible with
5.1 API/ABI).
Diffstat (limited to 'test/functional/legacy/061_undo_tree_spec.lua')
-rw-r--r-- | test/functional/legacy/061_undo_tree_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/legacy/061_undo_tree_spec.lua b/test/functional/legacy/061_undo_tree_spec.lua index ceb114b2a7..6db37bf1ff 100644 --- a/test/functional/legacy/061_undo_tree_spec.lua +++ b/test/functional/legacy/061_undo_tree_spec.lua @@ -191,7 +191,7 @@ describe('undo tree:', function() end) it('undo an expression-register', function() - local normal_commands = 'o1\x1ba2\x12=string(123)\n\x1b' + local normal_commands = 'o1\027a2\018=string(123)\n\027' write_file('Xtest.source', normal_commands) feed('oa<esc>') |