view src/testdir/test_comparators.in @ 11403:74a40efb39ea v8.0.0586

patch 8.0.0586: no test for mapping timing out commit https://github.com/vim/vim/commit/b7637c44c26b057d1f3721d932bbab06d9f74393 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Apr 23 18:49:36 2017 +0200 patch 8.0.0586: no test for mapping timing out Problem: No test for mapping timing out. Solution: Add a test.
author Christian Brabandt <cb@256bit.org>
date Sun, 23 Apr 2017 19:00:03 +0200
parents 5fc5c5bf2233
children
line wrap: on
line source

" Test for expression comparators.   vim: set ft=vim :


STARTTEST
:so small.vim
:try
:  let oldisident=&isident
:  set isident+=#
:  if 1 is#1
:    $put ='ok'
:  else
:    $put ='ng'
:  endif
:finally
:  let &isident=oldisident
:endtry
:"
:/^marker/+1,$wq! test.out
ENDTEST

marker