Mercurial > vim
comparison src/testdir/test_eval_stuff.vim @ 19087:e3848b251a01 v8.2.0104
patch 8.2.0104: using channel or job with ":execute" has strange effects
Commit: https://github.com/vim/vim/commit/b662591e505e8523634a1c8ddfb7fe44fae880c6
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 8 20:09:01 2020 +0100
patch 8.2.0104: using channel or job with ":execute" has strange effects
Problem: Using channel or job with ":execute" has strange effects.
Solution: Give an error message for Job and Channel.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 08 Jan 2020 20:15:03 +0100 |
parents | 609b351cb58f |
children | 2bb0e80fcd32 |
comparison
equal
deleted
inserted
replaced
19086:8225fdd8fe14 | 19087:e3848b251a01 |
---|---|
214 func Test_scriptversion_fail() | 214 func Test_scriptversion_fail() |
215 call writefile(['scriptversion 9'], 'Xversionscript') | 215 call writefile(['scriptversion 9'], 'Xversionscript') |
216 call assert_fails('source Xversionscript', 'E999:') | 216 call assert_fails('source Xversionscript', 'E999:') |
217 call delete('Xversionscript') | 217 call delete('Xversionscript') |
218 endfunc | 218 endfunc |
219 | |
220 func Test_excute_null() | |
221 call assert_fails('execute test_null_list()', 'E730:') | |
222 call assert_fails('execute test_null_dict()', 'E731:') | |
223 call assert_fails('execute test_null_blob()', 'E976:') | |
224 execute test_null_string() | |
225 call assert_fails('execute test_null_partial()', 'E729:') | |
226 if has('job') | |
227 call assert_fails('execute test_null_job()', 'E908:') | |
228 call assert_fails('execute test_null_channel()', 'E908:') | |
229 endif | |
230 endfunc |