Mercurial > vim
diff src/testdir/test_debugger.vim @ 28718:723c7d940cba
patch 8.2.4883: string interpolation only works in heredoc
Commit: https://github.com/vim/vim/commit/2eaef106e4a7fc9dc74a7e672b5f550ec1f9786e
Author: LemonBoy <thatlemon@gmail.com>
Date: Fri May 6 13:14:50 2022 +0100
patch 8.2.4883: string interpolation only works in heredoc
Problem: String interpolation only works in heredoc.
Solution: Support interpolated strings. Use syntax for heredoc consistent
with strings, similar to C#. (closes #10327)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 06 May 2022 14:15:03 +0200 |
parents | 35e24d9de858 |
children | 96ff6c230a66 |
line wrap: on
line diff
--- a/src/testdir/test_debugger.vim +++ b/src/testdir/test_debugger.vim @@ -377,7 +377,7 @@ func Test_Debugger_breakadd_expr() let expected =<< eval trim END Oldval = "10" Newval = "11" - `=fnamemodify('Xtest.vim', ':p')` + {fnamemodify('Xtest.vim', ':p')} line 1: let g:Xtest_var += 1 END call RunDbgCmd(buf, ':source %', expected) @@ -385,7 +385,7 @@ func Test_Debugger_breakadd_expr() let expected =<< eval trim END Oldval = "11" Newval = "12" - `=fnamemodify('Xtest.vim', ':p')` + {fnamemodify('Xtest.vim', ':p')} line 1: let g:Xtest_var += 1 END call RunDbgCmd(buf, ':source %', expected)