0
0
mirror of https://github.com/vim/vim.git synced 2025-10-03 05:14:07 -04:00

patch 7.4.1838

Problem:    Functions specifically for testing do not sort together.
Solution:   Rename garbagecollect_for_testing() to test_garbagecollect_now().
            Add test_null_list(), test_null_dict(), etc.
This commit is contained in:
Bram Moolenaar
2016-05-24 17:33:34 +02:00
parent c67e892134
commit 574860b5ee
5 changed files with 134 additions and 65 deletions

View File

@@ -85,7 +85,7 @@ func Test_getreg_empty_list()
endfunc
func Test_loop_over_null_list()
let null_list = submatch(1, 1)
let null_list = test_null_list()
for i in null_list
call assert_true(0, 'should not get here')
endfor