view src/testdir/test_comparators.vim @ 25443:9ed6587bcc0f v8.2.3258

patch 8.2.3258: error messages have the wrong text Commit: https://github.com/vim/vim/commit/78db17c6f335f518752ca221ec6bde79db584e15 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 31 19:12:58 2021 +0200 patch 8.2.3258: error messages have the wrong text Problem: Error messages have the wrong text. Solution: Adjust the error message.
author Bram Moolenaar <Bram@vim.org>
date Sat, 31 Jul 2021 19:15:03 +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