diff options
author | Bram Moolenaar <Bram@vim.org> | 2023-05-09 22:07:11 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2023-05-09 22:07:11 +0100 |
commit | a4467c433a767cc2dc046ff134094c1b6305b678 (patch) | |
tree | 69f5ac25bc00a46faef006b56b413c4a6f937fa4 /src/testdir/test_substitute.vim | |
parent | 916d6dd5b1834293e21a72ef70175aae57e78fba (diff) |
patch 9.0.1535: test commented out in a wrong wayv9.0.1535
Problem: Test commented out in a wrong way.
Solution: Use legacy script comment character.
Diffstat (limited to 'src/testdir/test_substitute.vim')
-rw-r--r-- | src/testdir/test_substitute.vim | 24 |
1 files changed, 12 insertions, 12 deletions
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. |