view src/testdir/test_comparators.vim @ 26036:c8165ec9dcad v8.2.3552

patch 8.2.3552: xxd revert does not handle end of line correctly Commit: https://github.com/vim/vim/commit/47810464aa4f9edbf222c02a860a3ec560b0b7a1 Author: DungSaga <dungsaga@users.noreply.github.com> Date: Fri Oct 22 12:55:42 2021 +0100 patch 8.2.3552: xxd revert does not handle end of line correctly Problem: Xxd revert does not handle end of line correctly. Solution: Check for newline first. (closes https://github.com/vim/vim/issues/9034)
author Bram Moolenaar <Bram@vim.org>
date Fri, 22 Oct 2021 14:00:07 +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