diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-07 19:05:09 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-07 19:05:09 +0200 |
commit | f6ed61e1489e40eada55a4f1782e1ed82bcad7d9 (patch) | |
tree | 59c67f3a73489d4536e741b883a9ad5f45c3cc2f /src/testdir/test_substitute.vim | |
parent | 30e9b3c4256710781c3bd64efb33f138e4e074b3 (diff) |
patch 8.1.2004: more functions can be used as methodsv8.1.2004
Problem: More functions can be used as methods.
Solution: Make various functions usable as a method.
Diffstat (limited to 'src/testdir/test_substitute.vim')
-rw-r--r-- | src/testdir/test_substitute.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testdir/test_substitute.vim b/src/testdir/test_substitute.vim index a263fb6211..8a8e7ab4f8 100644 --- a/src/testdir/test_substitute.vim +++ b/src/testdir/test_substitute.vim @@ -337,7 +337,7 @@ func Test_sub_replace_5() \ substitute('A123456789', \ 'A\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)\(.\)', \ '\=string([submatch(0, 1), submatch(9, 1), ' . - \ 'submatch(8, 1), submatch(7, 1), submatch(6, 1), ' . + \ 'submatch(8, 1), 7->submatch(1), submatch(6, 1), ' . \ 'submatch(5, 1), submatch(4, 1), submatch(3, 1), ' . \ 'submatch(2, 1), submatch(1, 1)])', \ '')) |