Problem: Vim9: valgrind reports spurious problems for a test.
Solution: Move the test to the set that is known to fail.
endif
enddef
-def Test_job_info_return_type()
- if !has('job')
- CheckFeature job
- else
- job_start(&shell)
- var jobs = job_info()
- assert_equal('list<job>', typename(jobs))
- assert_equal('dict<any>', typename(job_info(jobs[0])))
- job_stop(jobs[0])
- endif
-enddef
+" Test_job_info_return_type() is in test_vim9_fails.vim
def Test_job_setoptions()
if !has('job')
var job2: job = job_start('willfail')
endif
enddef
+
+" Unclear why this test causes valgrind to report problems.
+def Test_job_info_return_type()
+ if !has('job')
+ CheckFeature job
+ else
+ var job: job = job_start(&shell)
+ var jobs = job_info()
+ assert_equal('list<job>', typename(jobs))
+ assert_equal('dict<any>', typename(job_info(jobs[0])))
+ job_stop(job)
+ endif
+enddef
+
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 3715,
/**/
3714,
/**/