view src/testdir/test_comparators.vim @ 28306:371e6bb623ad

Added tag v8.2.4678 for changeset c4b2aa8e1ee1321f14cf22b0baa20d8e7ea103a5
author Bram Moolenaar <Bram@vim.org>
date Sun, 03 Apr 2022 22:15:05 +0200
parents 08940efa6b4e
children
line wrap: on
line source

" Test for comparators

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

" vim: shiftwidth=2 sts=2 expandtab