diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-05-15 14:50:12 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-05-15 14:50:12 +0100 |
commit | b62dc5e7825bc195efe3041d5b3a9f1528359e1c (patch) | |
tree | a0469ca3fc215cbb3aed246d121442853ced3f2b /src/testdir/test_buffer.vim | |
parent | dd41037552c1be3548d2ce34bb1c889f14edb553 (diff) |
patch 8.2.4959: using NULL regexp programv8.2.4959
Problem: Using NULL regexp program.
Solution: Check for regexp program becoming NULL in more places.
Diffstat (limited to 'src/testdir/test_buffer.vim')
-rw-r--r-- | src/testdir/test_buffer.vim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/testdir/test_buffer.vim b/src/testdir/test_buffer.vim index 55ef0fda76..4dcfd2d8f7 100644 --- a/src/testdir/test_buffer.vim +++ b/src/testdir/test_buffer.vim @@ -419,6 +419,12 @@ func Test_buf_pattern_invalid() vsplit 00000000000000000000000000 silent! buf [0--]\&\zs*\zs*e bwipe! + + " similar case with different code path + split 0 + edit ΓΏ + silent! buf [0--]\&\zs*\zs*0 + bwipe! endfunc " Test for the 'maxmem' and 'maxmemtot' options |