diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-11-17 07:06:28 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2023-11-17 07:06:52 +0800 |
commit | 354b57b01ff38fe994e4bcab464dd70f5fad14d0 (patch) | |
tree | 36a1523680e0d3c02e586344840ce36cca727fa8 | |
parent | f6658a1e785a6b603db3166083bef9cc56b65487 (diff) | |
download | rneovim-354b57b01ff38fe994e4bcab464dd70f5fad14d0.tar.gz rneovim-354b57b01ff38fe994e4bcab464dd70f5fad14d0.tar.bz2 rneovim-354b57b01ff38fe994e4bcab464dd70f5fad14d0.zip |
vim-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.
https://github.com/vim/vim/commit/a4467c433a767cc2dc046ff134094c1b6305b678
Co-authored-by: Bram Moolenaar <Bram@vim.org>
-rw-r--r-- | test/old/testdir/test_substitute.vim | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/old/testdir/test_substitute.vim b/test/old/testdir/test_substitute.vim index 04cbd36f87..956d51893d 100644 --- a/test/old/testdir/test_substitute.vim +++ b/test/old/testdir/test_substitute.vim @@ -1417,18 +1417,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. |