view src/testdir/test_jumps.vim @ 19145:ea3ac1de7704 v8.2.0132

patch 8.2.0132: script may be re-used when deleting and creating a new one Commit: https://github.com/vim/vim/commit/ca33eb256eb910af05e8c9852bc9f716cece1f5c Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 19 20:18:09 2020 +0100 patch 8.2.0132: script may be re-used when deleting and creating a new one Problem: Script may be re-used when deleting and creating a new one. Solution: When the inode matches, also check the file name.
author Bram Moolenaar <Bram@vim.org>
date Sun, 19 Jan 2020 20:30:04 +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