view src/testdir/test_comparators.vim @ 32515:d1794b2317b8 v9.0.1589

patch 9.0.1589: filetype test contains too many special characters Commit: https://github.com/vim/vim/commit/b140c114f641ac4cd4fb04e7bdec031295264a8d Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 29 17:06:05 2023 +0100 patch 9.0.1589: filetype test contains too many special characters Problem: Filetype test contains too many special characters. Solution: Use Vim9 syntax for a few things.
author Bram Moolenaar <Bram@vim.org>
date Mon, 29 May 2023 18: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