diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-04-29 17:41:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-04-29 17:41:22 +0200 |
commit | e512c8c049c2e5768c0ea86531093224e2919955 (patch) | |
tree | b6fb316e5a71cd082f037f3f1a8bb31a6d532426 /src/testdir/test_eval.in | |
parent | 121f9bdde4a474ae729fd0b1e5fc9ad1ffcd8651 (diff) |
updated for version 7.4.272v7.4.272
Problem: Using just "$" does not cause an error message.
Solution: Check for empty environment variable name. (Christian Brabandt)
Diffstat (limited to 'src/testdir/test_eval.in')
-rw-r--r-- | src/testdir/test_eval.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test_eval.in b/src/testdir/test_eval.in index 8c3d839a44..11bc7e8e67 100644 --- a/src/testdir/test_eval.in +++ b/src/testdir/test_eval.in @@ -183,6 +183,13 @@ endfun :" script-local function used in Funcref must exist. :so test_eval_func.vim :" +:" Using $ instead of '$' must give an error +:try +: call append($, 'foobar') +:catch +:$put =v:exception +:endtry +:" :/^start:/+1,$wq! test.out :" vim: et ts=4 isk-=\: fmr=???,??? :call getchar() |