view src/testdir/test_jumps.vim @ 18035:11dca9732a48 v8.1.2013

patch 8.1.2013: more functions can be used as methods Commit: https://github.com/vim/vim/commit/f92e58cadb03156879e9bdbf6341bf662d9c87cc Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 8 21:51:41 2019 +0200 patch 8.1.2013: more functions can be used as methods Problem: More functions can be used as methods. Solution: Make various functions usable as a method.
author Bram Moolenaar <Bram@vim.org>
date Sun, 08 Sep 2019 22:00:04 +0200
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