view src/testdir/test_comparators.vim @ 17805:313f498c646e v8.1.1899

patch 8.1.1899: sign_place() does not work as documented Commit: https://github.com/vim/vim/commit/42aff46d9783d6c80519a35350065c34372fbf70 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 21 13:20:29 2019 +0200 patch 8.1.1899: sign_place() does not work as documented Problem: sign_place() does not work as documented. Solution: Make accept line numbers like line(). (Yegappan Lakshmanan, closes #4848)
author Bram Moolenaar <Bram@vim.org>
date Wed, 21 Aug 2019 13:30:03 +0200
parents 140d51d5b5c3
children 08940efa6b4e
line wrap: on
line source

function Test_Comparators()
  try
    let oldisident=&isident
    set isident+=#
    call assert_equal(1, 1 is#1)
  finally
    let &isident=oldisident
  endtry
endfunction