diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2022-10-26 19:04:38 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2022-10-26 20:53:39 +0800 |
| commit | cfccae95844db21aad773c9a8f8b636f53d6c8c4 (patch) | |
| tree | a4929427358343c9b66604209168ef10f2119ae3 /src/nvim/testdir/test_expr.vim | |
| parent | d60fa43466eaf59999e39860ce6d0ce2fa2cfb36 (diff) | |
| download | rneovim-cfccae95844db21aad773c9a8f8b636f53d6c8c4.tar.gz rneovim-cfccae95844db21aad773c9a8f8b636f53d6c8c4.tar.bz2 rneovim-cfccae95844db21aad773c9a8f8b636f53d6c8c4.zip | |
vim-patch:8.2.0610: some tests are still old style
Problem: Some tests are still old style.
Solution: Convert to new style tests. (Yegappan Lakshmanan, closes vim/vim#5957)
https://github.com/vim/vim/commit/08f4157c5cabc55bcb22f04dd7c717aba40caa34
Fix missing error message when sort() compare function fails.
Cherry-pick a line in test_utf8.vim from patch 8.2.0448.
Cherry-pick builtin_function() change from patch 8.2.0595.
Diffstat (limited to 'src/nvim/testdir/test_expr.vim')
| -rw-r--r-- | src/nvim/testdir/test_expr.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_expr.vim b/src/nvim/testdir/test_expr.vim index c63a969e50..f6e6004a31 100644 --- a/src/nvim/testdir/test_expr.vim +++ b/src/nvim/testdir/test_expr.vim @@ -46,6 +46,7 @@ func Test_dict() call assert_equal('zero', d[0]) call assert_true(has_key(d, '')) call assert_true(has_key(d, 'a')) + call assert_fails("let i = has_key([], 'a')", 'E715:') let d[''] = 'none' let d['a'] = 'aaa' |