view src/testdir/test_comparators.vim @ 28623:1d92ba691dc4 v8.2.4835

patch 8.2.4835: Vim9: some lines not covered by tests Commit: https://github.com/vim/vim/commit/95e4dd813a19236772dbe53eb9f605b4ff5199b2 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 27 22:15:40 2022 +0100 patch 8.2.4835: Vim9: some lines not covered by tests Problem: Vim9: some lines not covered by tests. Solution: Add a few more tests. Fix disassemble output.
author Bram Moolenaar <Bram@vim.org>
date Wed, 27 Apr 2022 23:30: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