diff options
author | ZyX <kp-pav@yandex.ru> | 2017-11-19 21:40:34 +0300 |
---|---|---|
committer | ZyX <kp-pav@yandex.ru> | 2017-11-19 22:00:59 +0300 |
commit | ebb33eddd9ad0e9cec5013be2e37c8f9b0546c77 (patch) | |
tree | a7d71b2d6de9159e16be5abe3b3a43a9bcca9d90 /test/functional/api/vim_spec.lua | |
parent | 731dc82f8c04e3019ecc3243b6b512535998635b (diff) | |
download | rneovim-ebb33eddd9ad0e9cec5013be2e37c8f9b0546c77.tar.gz rneovim-ebb33eddd9ad0e9cec5013be2e37c8f9b0546c77.tar.bz2 rneovim-ebb33eddd9ad0e9cec5013be2e37c8f9b0546c77.zip |
tests: Stabilize float format and %e in format_luav and format_string
Diffstat (limited to 'test/functional/api/vim_spec.lua')
-rw-r--r-- | test/functional/api/vim_spec.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/api/vim_spec.lua b/test/functional/api/vim_spec.lua index 2572675a58..5b5340d9e2 100644 --- a/test/functional/api/vim_spec.lua +++ b/test/functional/api/vim_spec.lua @@ -750,7 +750,7 @@ describe('api', function() typ = typ .. ('(val=%u)'):format(east_api_node.ivalue) east_api_node.ivalue = nil elseif typ == 'Float' then - typ = typ .. ('(val=%e)'):format(east_api_node.fvalue) + typ = typ .. format_string('(val=%e)', east_api_node.fvalue) east_api_node.fvalue = nil elseif typ == 'SingleQuotedString' or typ == 'DoubleQuotedString' then typ = format_string('%s(val=%q)', typ, east_api_node.svalue) |