aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/edit_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-04-15 07:11:39 +0800
committerGitHub <noreply@github.com>2024-04-15 07:11:39 +0800
commit43f8d7e3ef2db733f01f2d4c03214cd90c5a09be (patch)
tree002e8a305a2217ce1b6f7f7ab7fef548fcd6b8b7 /test/functional/legacy/edit_spec.lua
parent7180ef690180cf92d1d49811820c46dd60e4d1c6 (diff)
downloadrneovim-43f8d7e3ef2db733f01f2d4c03214cd90c5a09be.tar.gz
rneovim-43f8d7e3ef2db733f01f2d4c03214cd90c5a09be.tar.bz2
rneovim-43f8d7e3ef2db733f01f2d4c03214cd90c5a09be.zip
vim-patch:9.1.0329: String interpolation fails for Dict type (#28335)
Problem: String interpolation fails for Dict type Solution: Support Dict data type properly, also support :put =Dict (without having to convert it to string() first) (Yegappan Lakshmanan) fixes: vim/vim#14529 closes: vim/vim#14541 https://github.com/vim/vim/commit/f01493c55062c01b1cdf9b1e946577f4d1bdddf3 Co-authored-by: Yegappan Lakshmanan <yegappan@yahoo.com>
Diffstat (limited to 'test/functional/legacy/edit_spec.lua')
-rw-r--r--test/functional/legacy/edit_spec.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/functional/legacy/edit_spec.lua b/test/functional/legacy/edit_spec.lua
index c79213656f..0def49b85d 100644
--- a/test/functional/legacy/edit_spec.lua
+++ b/test/functional/legacy/edit_spec.lua
@@ -56,20 +56,20 @@ describe('edit', function()
{1:~ }|*4
{5:-- INSERT --} |
]])
- feed('={}')
+ feed('=0z')
screen:expect([[
{18:"} |
{1:~ }|*4
- ={16:{}}^ |
+ ={26:0}{9:z}^ |
]])
- -- trying to insert a dictionary produces an error
+ -- trying to insert a blob produces an error
feed('<CR>')
screen:expect([[
{18:"} |
{1:~ }|
{3: }|
- ={16:{}} |
- {9:E731: Using a Dictionary as a String} |
+ ={26:0}{9:z} |
+ {9:E976: Using a Blob as a String} |
{6:Press ENTER or type command to continue}^ |
]])