summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_channel.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-11 22:00:11 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-11 22:00:11 +0100
commit05c00c038bc16e862e17f9e5c8d5a72af6cf7788 (patch)
tree4c7015c7adc01116b60c8a6b19f71d7335f38b93 /src/testdir/test_channel.vim
parent5a6698169d10833abad88c98e5a332ddde5d110d (diff)
patch 8.1.0897: can modify a:000 when using a referencev8.1.0897
Problem: Can modify a:000 when using a reference. Solution: Make check for locked variable stricter. (Ozaki Kiichi, closes #3930)
Diffstat (limited to 'src/testdir/test_channel.vim')
-rw-r--r--src/testdir/test_channel.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_channel.vim b/src/testdir/test_channel.vim
index e263115392..67163e606b 100644
--- a/src/testdir/test_channel.vim
+++ b/src/testdir/test_channel.vim
@@ -2062,9 +2062,9 @@ func Test_job_tty_in_out()
for in_opt in in_opts
let x = copy(in_opt)
for out_opt in out_opts
- call extend(x, out_opt)
+ let x = extend(copy(x), out_opt)
for err_opt in err_opts
- call extend(x, err_opt)
+ let x = extend(copy(x), err_opt)
let opts += [extend({'pty': 1}, x)]
endfor
endfor