mirror of
https://github.com/neovim/neovim.git
synced 2025-10-17 15:21:47 +00:00
tests: Stabilize float format and %e in format_luav and format_string
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user