From 171d215f910cd21e6ec07eac20a05b0403444b48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Sun, 27 Dec 2020 09:32:29 +0100 Subject: [PATCH] Add case from #1604 to VimL syntax-test source --- tests/syntax-tests/highlighted/VimL/source.vim | 6 ++++++ tests/syntax-tests/source/VimL/source.vim | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/tests/syntax-tests/highlighted/VimL/source.vim b/tests/syntax-tests/highlighted/VimL/source.vim index a3dbe2d1..37c4e953 100644 --- a/tests/syntax-tests/highlighted/VimL/source.vim +++ b/tests/syntax-tests/highlighted/VimL/source.vim @@ -69,6 +69,12 @@ echo "Hello" isnot "Hello2" echo "Hello" =~ "Hello2" echo "Hello" !~ "Hello2" +echo "Hello" !~ "Hello2" + +echo "/This/should/not/be/a/regex" + +" Error case from issue #1604 (https://github.com/sharkdp/bat/issues/1064) +set runtimepath=~/foo/bar let g:dict = {} let g:dict.item = ['l1', 'l2'] diff --git a/tests/syntax-tests/source/VimL/source.vim b/tests/syntax-tests/source/VimL/source.vim index 85e536ab..15cd3a81 100644 --- a/tests/syntax-tests/source/VimL/source.vim +++ b/tests/syntax-tests/source/VimL/source.vim @@ -69,6 +69,12 @@ echo "Hello" is "Hello2" echo "Hello" isnot "Hello2" echo "Hello" =~ "Hello2" echo "Hello" !~ "Hello2" +echo "Hello" !~ "Hello2" + +echo "/This/should/not/be/a/regex" + +" Error case from issue #1604 (https://github.com/sharkdp/bat/issues/1064) +set runtimepath=~/foo/bar let g:dict = {} let g:dict.item = ['l1', 'l2']