comparison src/testdir/test_blob.vim @ 20941:505d97ea54da v8.2.1022

patch 8.2.1022: various parts of code not covered by tests Commit: https://github.com/vim/vim/commit/845e0ee59430eac07e74b6cb92020e420d17953d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jun 20 16:05:32 2020 +0200 patch 8.2.1022: various parts of code not covered by tests Problem: Various parts of code not covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/6300)
author Bram Moolenaar <Bram@vim.org>
date Sat, 20 Jun 2020 16:15:04 +0200
parents 94f05de75e9f
children f140b9036aa5
comparison
equal deleted inserted replaced
20940:88ce5327f213 20941:505d97ea54da
252 call assert_fails("call remove(b, 5)", 'E979:') 252 call assert_fails("call remove(b, 5)", 'E979:')
253 call assert_fails("call remove(b, 1, 5)", 'E979:') 253 call assert_fails("call remove(b, 1, 5)", 'E979:')
254 call assert_fails("call remove(b, 3, 2)", 'E979:') 254 call assert_fails("call remove(b, 3, 2)", 'E979:')
255 call assert_fails("call remove(1, 0)", 'E896:') 255 call assert_fails("call remove(1, 0)", 'E896:')
256 call assert_fails("call remove(b, b)", 'E974:') 256 call assert_fails("call remove(b, b)", 'E974:')
257 call assert_fails("call remove(b, 1, [])", 'E745:')
257 call assert_fails("call remove(test_null_blob(), 1, 2)", 'E979:') 258 call assert_fails("call remove(test_null_blob(), 1, 2)", 'E979:')
258 endfunc 259 endfunc
259 260
260 func Test_blob_read_write() 261 func Test_blob_read_write()
261 let b = 0zDEADBEEF 262 let b = 0zDEADBEEF