view src/testdir/test_comparators.vim @ 28839:b93668df9160 v8.2.4943

patch 8.2.4943: changing 'switchbuf' may have no effect Commit: https://github.com/vim/vim/commit/39c46b43780ad00ea27a93d92aadd44753d4c3ea Author: Sean Dewar <seandewar@users.noreply.github.com> Date: Thu May 12 17:44:29 2022 +0100 patch 8.2.4943: changing 'switchbuf' may have no effect Problem: Changing 'switchbuf' may have no effect. Solution: Handle 'switchbuf' in didset_string_options(). (Sean Dewar, closes #10406)
author Bram Moolenaar <Bram@vim.org>
date Thu, 12 May 2022 18:45:02 +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