Patch 8.2.0724

10 views
Skip to first unread message

Bram Moolenaar

unread,
May 9, 2020, 12:45:28 PM5/9/20
to vim...@googlegroups.com

Patch 8.2.0724
Problem: Vim9: appending to buffer/window/tab variable not tested
Solution: Add a test.
Files: src/testdir/test_vim9_script.vim


*** ../vim-8.2.0723/src/testdir/test_vim9_script.vim 2020-05-07 14:07:19.952220393 +0200
--- src/testdir/test_vim9_script.vim 2020-05-09 18:42:12.562461002 +0200
***************
*** 135,152 ****
--- 135,158 ----
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
*** ../vim-8.2.0723/src/version.c 2020-05-09 18:28:30.401618052 +0200
--- src/version.c 2020-05-09 18:42:55.262295780 +0200
***************
*** 748,749 ****
--- 748,751 ----
{ /* Add new patch number below this line */
+ /**/
+ 724,
/**/

--
hundred-and-one symptoms of being an internet addict:
82. AT&T names you Customer of the Month for the third consecutive time.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages