diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-01-12 21:49:00 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-01-12 21:49:00 +0100 |
commit | a47e05f04a5a5c0369c949157c24d09cbe64ad6a (patch) | |
tree | 7d6a27b717ed6c478f4642fd7af13913a4c07f3b /src/testdir/test_vim9_builtin.vim | |
parent | 64ed4d4398e92ac56a9bbd66d5ec992dd4c335f7 (diff) |
patch 8.2.2339: cannot get the type of a value as a stringv8.2.2339
Problem: Cannot get the type of a value as a string.
Solution: Add typename().
Diffstat (limited to 'src/testdir/test_vim9_builtin.vim')
-rw-r--r-- | src/testdir/test_vim9_builtin.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_vim9_builtin.vim b/src/testdir/test_vim9_builtin.vim index 83b9931f24..a84b7f6210 100644 --- a/src/testdir/test_vim9_builtin.vim +++ b/src/testdir/test_vim9_builtin.vim @@ -318,8 +318,8 @@ def Test_job_info_return_type() if has('job') job_start(&shell) var jobs = job_info() - assert_equal(v:t_list, type(jobs)) - assert_equal(v:t_dict, type(job_info(jobs[0]))) + assert_equal('list<job>', typename(jobs)) + assert_equal('dict<any>', typename(job_info(jobs[0]))) job_stop(jobs[0]) endif enddef |