patch 8.2.3715: Vim9: valgrind reports spurious problems for a test
Problem: Vim9: valgrind reports spurious problems for a test.
Solution: Move the test to the set that is known to fail.
diff --git a/src/testdir/test_vim9_fails.vim b/src/testdir/test_vim9_fails.vim
index e09eb65..216ef0b 100644
--- a/src/testdir/test_vim9_fails.vim
+++ b/src/testdir/test_vim9_fails.vim
@@ -8,3 +8,17 @@
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
+