view src/testdir/test_comparators.vim @ 17600:ca42eb789472 v8.1.1797

patch 8.1.1797: the vgetorpeek() function is too long commit https://github.com/vim/vim/commit/edd680f3649c47d7ed5818e356e7c47f874f5cf8 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 3 14:23:48 2019 +0200 patch 8.1.1797: the vgetorpeek() function is too long Problem: The vgetorpeek() function is too long. Solution: Split off the part that handles mappings, with fix.
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Aug 2019 14:30:05 +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