view src/testdir/test_comparators.vim @ 31400:7d22228e4979 v9.0.1033

patch 9.0.1033: tiny build fails because of conflicting typedef Commit: https://github.com/vim/vim/commit/83c43ab319f4c4a9d03c65648b4f0df4298a7f93 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Dec 8 16:10:01 2022 +0000 patch 9.0.1033: tiny build fails because of conflicting typedef Problem: Tiny build fails because of conflicting typedef. Solution: Remove one typedef.
author Bram Moolenaar <Bram@vim.org>
date Thu, 08 Dec 2022 17:15:03 +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