]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.0.1535: test commented out in a wrong way v9.0.1535
authorBram Moolenaar <Bram@vim.org>
Tue, 9 May 2023 21:07:11 +0000 (22:07 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 9 May 2023 21:07:11 +0000 (22:07 +0100)
Problem:    Test commented out in a wrong way.
Solution:   Use legacy script comment character.

src/testdir/test_substitute.vim
src/version.c

index 73e6bef58d108b7fced5316996df06c5163a222c..3565c530e177f65a69ab2ff147fd78ae9fabcaf7 100644 (file)
@@ -1416,18 +1416,18 @@ endfunc
 
 " Check handling expanding "~" resulting in extremely long text.
 " FIXME: disabled, it takes too long to run on CI
-#func Test_substitute_tilde_too_long()
-#  enew!
-#
-#  s/.*/ixxx
-#  s//~~~~~~~~~AAAAAAA@(
-#
-#  " Either fails with "out of memory" or "text too long".
-#  " This can take a long time.
-#  call assert_fails('sil! norm &&&&&&&&&', ['E1240:\|E342:'])
-#
-#  bwipe!
-#endfunc
+"func Test_substitute_tilde_too_long()
+"  enew!
+"
+"  s/.*/ixxx
+"  s//~~~~~~~~~AAAAAAA@(
+"
+"  " Either fails with "out of memory" or "text too long".
+"  " This can take a long time.
+"  call assert_fails('sil! norm &&&&&&&&&', ['E1240:\|E342:'])
+"
+"  bwipe!
+"endfunc
 
 " This should be done last to reveal a memory leak when vim_regsub_both() is
 " called to evaluate an expression but it is not used in a second call.
index 166509644304cfa7125d1d88396533e63f11c957..8da355b336ce50b47d6fcb25b17e9d95f478e184 100644 (file)
@@ -695,6 +695,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1535,
 /**/
     1534,
 /**/