Mercurial > vim
diff src/testdir/test_blob.vim @ 20109:e82996ad131f v8.2.0610
patch 8.2.0610: some tests are still old style
Commit: https://github.com/vim/vim/commit/08f4157c5cabc55bcb22f04dd7c717aba40caa34
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Apr 20 16:50:00 2020 +0200
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 https://github.com/vim/vim/issues/5957)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 20 Apr 2020 17:00:04 +0200 |
parents | 80e663e91e1b |
children | 16460964c304 |
line wrap: on
line diff
--- a/src/testdir/test_blob.vim +++ b/src/testdir/test_blob.vim @@ -307,6 +307,9 @@ func Test_blob_insert() call assert_fails('call insert(b, -1)', 'E475:') call assert_fails('call insert(b, 257)', 'E475:') call assert_fails('call insert(b, 0, [9])', 'E745:') + call assert_fails('call insert(b, 0, -20)', 'E475:') + call assert_fails('call insert(b, 0, 20)', 'E475:') + call assert_fails('call insert(b, [])', 'E745:') endfunc func Test_blob_reverse()