diff src/testdir/test_substitute.vim @ 24580:87ff80c08e4b v8.2.2829

patch 8.2.2829: some comments are not correct or clear Commit: https://github.com/vim/vim/commit/df36514a6455342e178af693553ef9df9fcf8c83 Author: Bram Moolenaar <Bram@vim.org> Date: Mon May 3 20:01:45 2021 +0200 patch 8.2.2829: some comments are not correct or clear Problem: Some comments are not correct or clear. Solution: Adjust the comments. Add test for cursor position.
author Bram Moolenaar <Bram@vim.org>
date Mon, 03 May 2021 20:15:04 +0200
parents 595ea7f099cd
children b1093c1ac109
line wrap: on
line diff
--- a/src/testdir/test_substitute.vim
+++ b/src/testdir/test_substitute.vim
@@ -926,4 +926,13 @@ func Test_substitute_multiline_submatch(
   close!
 endfunc
 
+func Test_substitute_skipped_range()
+  new
+  if 0
+    /1/5/2/2/\n
+  endif
+  call assert_equal([0, 1, 1, 0, 1], getcurpos())
+  bwipe!
+endfunc
+
 " vim: shiftwidth=2 sts=2 expandtab