diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-09 18:44:56 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-09 18:44:56 +0200 |
commit | 396f3138ca83ce844679143861f544070683d479 (patch) | |
tree | 3001662756c9b1bacee2511eb5e97f73d7adc0cb /src | |
parent | 1c74721233dac057778f9aef9ae20f49d934ec22 (diff) | |
download | vim-git-396f3138ca83ce844679143861f544070683d479.tar.gz |
patch 8.2.0724: Vim9: appending to buffer/window/tab variable not testedv8.2.0724
Problem: Vim9: appending to buffer/window/tab variable not tested
Solution: Add a test.
Diffstat (limited to 'src')
-rw-r--r-- | src/testdir/test_vim9_script.vim | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim index 7768eb082..564e51d0a 100644 --- a/src/testdir/test_vim9_script.vim +++ b/src/testdir/test_vim9_script.vim @@ -135,18 +135,24 @@ def Test_assignment_local() assert_equal('yes', b:existing) b:existing = 'no' assert_equal('no', b:existing) + b:existing ..= 'NO' + assert_equal('noNO', b:existing) w:newvar = 'new' assert_equal('new', w:newvar) assert_equal('yes', w:existing) w:existing = 'no' assert_equal('no', w:existing) + w:existing ..= 'NO' + assert_equal('noNO', w:existing) t:newvar = 'new' assert_equal('new', t:newvar) assert_equal('yes', t:existing) t:existing = 'no' assert_equal('no', t:existing) + t:existing ..= 'NO' + assert_equal('noNO', t:existing) enddef call Test_assignment_local_internal() END diff --git a/src/version.c b/src/version.c index 3084d9b7c..38da744e4 100644 --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 724, +/**/ 723, /**/ 722, |