neovim/test/functional/api
Amit Singh 970a27927e
fix(lua)!: do not use typed table for empty dict
Problem:
Empty dictionaries are converted into typed tables of the form `{ [true]
= 6}` instead of an empty dictionary representation `{}`. This leads to
incorrect table representation, along with failure in JSON encoding of
such tables as currently tables with only string and number type keys
can be encoded.

Solution:
The typed table logic has been removed from `nlua_push_Dictionary`. The
typed table logic is required only for float value conversions which is
already handled in `nlua_push_Float`. So, it is(was) no longer required
here.

Fixes neovim/neovim#29218
2024-07-13 16:42:28 +05:30
..
autocmd_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
buffer_spec.lua refactor(tests): use more global highlight definitions 2024-05-26 09:22:20 +02:00
buffer_updates_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
command_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
extmark_spec.lua feat(signs)!: place higher-priority signs from the left #27781 2024-05-21 09:21:42 -07:00
highlight_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
keymap_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
menu_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
proc_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
rpc_fixture.lua refactor: format test/* 2024-01-03 02:09:29 +01:00
server_notifications_spec.lua feat(api): broadcast events to ALL channels #28487 2024-05-17 07:37:39 -07:00
server_requests_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
tabpage_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
ui_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
version_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
vim_spec.lua fix(lua)!: do not use typed table for empty dict 2024-07-13 16:42:28 +05:30
window_spec.lua refactor: use vim._with where possible 2024-06-28 19:58:31 +02:00