# HG changeset patch # User Bram Moolenaar # Date 1683666904 -7200 # Node ID d6b579475543574ffdc4e6e8a989ca32e4b8e46d # Parent 580bb2e66d05836669b6d4325976c299df0db1a6 patch 9.0.1535: test commented out in a wrong way Commit: https://github.com/vim/vim/commit/a4467c433a767cc2dc046ff134094c1b6305b678 Author: Bram Moolenaar Date: Tue May 9 22:07:11 2023 +0100 patch 9.0.1535: test commented out in a wrong way Problem: Test commented out in a wrong way. Solution: Use legacy script comment character. diff --git a/src/testdir/test_substitute.vim b/src/testdir/test_substitute.vim --- a/src/testdir/test_substitute.vim +++ b/src/testdir/test_substitute.vim @@ -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. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1535, +/**/ 1534, /**/ 1533,