view src/testdir/test_comparators.vim @ 28735:c428a4e53b9c v8.2.4892

patch 8.2.4892: test failures because of changed error messages Commit: https://github.com/vim/vim/commit/ec892234788d37bfed47d8bf82dd4cae8d335ad9 Author: Bram Moolenaar <Bram@vim.org> Date: Fri May 6 17:53:06 2022 +0100 patch 8.2.4892: test failures because of changed error messages Problem: Test failures because of changed error messages. Solution: Adjust the exptected error messages.
author Bram Moolenaar <Bram@vim.org>
date Fri, 06 May 2022 19:00: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