view src/testdir/test_jumps.vim @ 12940:5045d3076db0 v8.0.1346

patch 8.0.1346: crash when passing 50 char string to balloon_split() commit https://github.com/vim/vim/commit/a3571ebef5a2969d16e3e202ec4bca8858aca6ba Author: Bram Moolenaar <Bram@vim.org> Date: Sun Nov 26 16:53:16 2017 +0100 patch 8.0.1346: crash when passing 50 char string to balloon_split() Problem: Crash when passing 50 char string to balloon_split(). Solution: Fix off-by-one error.
author Christian Brabandt <cb@256bit.org>
date Sun, 26 Nov 2017 17:00:07 +0100
parents 5ec4fbfe38c5
children 08940efa6b4e
line wrap: on
line source

func Test_empty_buffer()
  new
  insert
a
b
c
d
.
  call assert_equal(1, line("''"))
  bwipe!
endfunc