plugin/msgpack: Support character constants like '\0'

This commit is contained in:
ZyX
2017-01-04 14:53:02 +03:00
parent a934144e04
commit d82f5d1ba2
2 changed files with 8 additions and 2 deletions

View File

@@ -652,6 +652,8 @@ describe('In autoload/msgpack.vim', function()
eval_eq('integer', ('a'):byte(), '\'a\'')
eval_eq('integer', 0xAB, '\'«\'')
eval_eq('integer', 0, '\'\\0\'')
eval_eq('integer', 10246567, '\'\\10246567\'')
end)
it('correctly loads constants', function()