summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.1004
blob: 0008d3fdcb69a55588e0e911ed5ec4450d71cfd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
To: vim_dev@googlegroups.com
Subject: Patch 8.1.1004
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

Patch 8.1.1004
Problem:    Function "luaV_setref()" not covered with tests.
Solution:   Add a test. (Dominique Pelle, closes #4089)
Files:	    src/testdir/test_lua.vim


*** ../vim-8.1.1003/src/testdir/test_lua.vim	2019-01-01 00:41:50.040176062 +0100
--- src/testdir/test_lua.vim	2019-03-10 08:23:10.904885380 +0100
***************
*** 4,9 ****
--- 4,14 ----
    finish
  endif
  
+ func TearDown()
+   " Run garbage collection after each test to exercise luaV_setref().
+   call test_garbagecollect_now()
+ endfunc
+ 
  " Check that switching to another buffer does not trigger ml_get error.
  func Test_command_new_no_ml_get_error()
    new
*** ../vim-8.1.1003/src/version.c	2019-03-10 09:41:46.474817008 +0100
--- src/version.c	2019-03-10 09:45:14.993360260 +0100
***************
*** 781,782 ****
--- 781,784 ----
  {   /* Add new patch number below this line */
+ /**/
+     1004,
  /**/

-- 
hundred-and-one symptoms of being an internet addict:
44. Your friends no longer send you e-mail...they just log on to your IRC
    channel.

 /// Bram Moolenaar -- Bram@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    ///