From: Bram Moolenaar Date: Tue, 9 May 2023 21:07:11 +0000 (+0100) Subject: patch 9.0.1535: test commented out in a wrong way X-Git-Tag: v9.0.1535 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4467c433a767cc2dc046ff134094c1b6305b678;p=thirdparty%2Fvim.git 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 index 73e6bef58d..3565c530e1 100644 --- 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 index 1665096443..8da355b336 100644 --- a/src/version.c +++ b/src/version.c @@ -695,6 +695,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1535, /**/ 1534, /**/