view src/testdir/test_comparators.vim @ 24039:a5478836fcb7 v8.2.2561

patch 8.2.2561: not all textprop code is covered by tests Commit: https://github.com/vim/vim/commit/3dc3474f00e529b014add48f7f3d1dad2ec15498 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Mar 2 13:36:47 2021 +0100 patch 8.2.2561: not all textprop code is covered by tests Problem: Not all textprop code is covered by tests. Solution: Add a few more test cases. (Dominique Pell?, closes https://github.com/vim/vim/issues/7908)
author Bram Moolenaar <Bram@vim.org>
date Tue, 02 Mar 2021 13:45:05 +0100
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