view src/testdir/test_jumps.vim @ 21658:140a9082f87c v8.2.1379

patch 8.2.1379: curly braces expression ending in " }" does not work Commit: https://github.com/vim/vim/commit/ae95a3946b012d4e68bcb20b28f691f6d3b9caaf Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 6 16:38:12 2020 +0200 patch 8.2.1379: curly braces expression ending in " }" does not work Problem: Curly braces expression ending in " }" does not work. Solution: Skip over white space when checking for "}". (closes https://github.com/vim/vim/issues/6634)
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Aug 2020 16:45: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