Skip to content

Commit

Permalink
Add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
k-takata committed Jul 12, 2019
1 parent e539032 commit e8409d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/testdir/test_blob.vim
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,10 @@ func Test_blob_assign()
call assert_fails('let b .= "xx"', 'E734:')
call assert_fails('let b += "xx"', 'E734:')
call assert_fails('let b[1:1] .= 0z55', 'E734:')

let l = [0z12]
let m = deepcopy(l)
let m[0] = 0z34 " E742 or E741 should not occur.
endfunc

func Test_blob_get_range()
Expand Down

0 comments on commit e8409d1

Please sign in to comment.