view src/testdir/test_jumps.vim @ 18966:6bd715870e32 v8.2.0044

patch 8.2.0044: expression type is used inconsistently Commit: https://github.com/vim/vim/commit/07a3db89b8953bd0964895badb3b662f7514bc10 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 25 18:14:14 2019 +0100 patch 8.2.0044: expression type is used inconsistently Problem: Expression type is used inconsistently. Solution: Add "ETYPE_IS" and "ETYPE_ISNOT" as separate enum values. Rename "TYPE_" to "ETYPE_" to avoid confusion.
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Dec 2019 18:15: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