Mercurial > vim
changeset 32407:d6b579475543 v9.0.1535
patch 9.0.1535: test commented out in a wrong way
Commit: https://github.com/vim/vim/commit/a4467c433a767cc2dc046ff134094c1b6305b678
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 09 May 2023 23:15:04 +0200 |
parents | 580bb2e66d05 |
children | 34c1d8c350b9 |
files | src/testdir/test_substitute.vim src/version.c |
diffstat | 2 files changed, 14 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- 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.