summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_channel.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-28 12:30:12 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-28 12:30:12 +0200
commit271906bc067a8f25422016665001d2e44cf618e2 (patch)
tree83fee8240a2be83f321c8cee236caa7afbb427fb /src/testdir/test_channel.vim
parent6024c0427ce1196344439997d5e41a6f8546368c (diff)
patch 8.2.3379: crash when using NULL jobv8.2.3379
Problem: Crash when using NULL job. Solution: Copy static string into buffer. (issue #8260)
Diffstat (limited to 'src/testdir/test_channel.vim')
-rw-r--r--src/testdir/test_channel.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim
index 783a41d2c3..fa510c7bbc 100644
--- a/src/testdir/test_channel.vim
+++ b/src/testdir/test_channel.vim
@@ -1718,6 +1718,10 @@ func Test_job_stop_immediately()
endtry
endfunc
+func Test_null_job_eval()
+ call assert_fails('eval test_null_job()->eval()', 'E121:')
+endfunc
+
" This was leaking memory.
func Test_partial_in_channel_cycle()
let d = {}