diff options
| author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-07 01:00:11 -0400 |
|---|---|---|
| committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-07 01:03:48 -0400 |
| commit | 4a6e201e37a9b08860cb823c528ea062002b7ebc (patch) | |
| tree | f059d872c4ed15146902c5b9d6d501c27eaef2c8 /src/nvim/testdir | |
| parent | 20fc7ef161f3c40b957ba81a751af4639cce7776 (diff) | |
| download | rneovim-4a6e201e37a9b08860cb823c528ea062002b7ebc.tar.gz rneovim-4a6e201e37a9b08860cb823c528ea062002b7ebc.tar.bz2 rneovim-4a6e201e37a9b08860cb823c528ea062002b7ebc.zip | |
vim-patch:8.1.1705: using ~{} for a literal dict is not nice
Problem: Using ~{} for a literal dict is not nice.
Solution: Use #{} instead.
https://github.com/vim/vim/commit/4c6d90458baae843463f930fdc3fe4a7a2191d27
Diffstat (limited to 'src/nvim/testdir')
| -rw-r--r-- | src/nvim/testdir/test_listdict.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/testdir/test_listdict.vim b/src/nvim/testdir/test_listdict.vim index 28cbceef9a..31a8b48d37 100644 --- a/src/nvim/testdir/test_listdict.vim +++ b/src/nvim/testdir/test_listdict.vim @@ -281,7 +281,7 @@ func Test_dict_func_remove_in_use() endfunc func Test_dict_literal_keys() - call assert_equal({'one': 1, 'two2': 2, '3three': 3, '44': 4}, ~{one: 1, two2: 2, 3three: 3, 44: 4},) + call assert_equal({'one': 1, 'two2': 2, '3three': 3, '44': 4}, #{one: 1, two2: 2, 3three: 3, 44: 4},) " why *{} cannot be used let blue = 'blue' |