diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-09-26 17:20:53 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-09-26 17:20:53 +0200 |
commit | 373863ed48c02b5df52574aa7d50aeecb1037d40 (patch) | |
tree | b8ac35b8b7d37267bfdfc2016375ba7c7e12602d /src/testdir/test_vim9_script.vim | |
parent | d47f50b3312af2b8baf37505b7a589daf3f7d942 (diff) |
patch 8.2.1746: Vim9: cannot use "fina" for "finally"v8.2.1746
Problem: Vim9: Cannot use "fina" for "finally". (Naruhiko Nishino)
Solution: Specifically check for "fina". (closes #7020)
Diffstat (limited to 'src/testdir/test_vim9_script.vim')
-rw-r--r-- | src/testdir/test_vim9_script.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testdir/test_vim9_script.vim b/src/testdir/test_vim9_script.vim index 2f82b8dd37..0feb9fad41 100644 --- a/src/testdir/test_vim9_script.vim +++ b/src/testdir/test_vim9_script.vim @@ -316,7 +316,7 @@ def Test_try_catch() endtry catch /wrong/ add(l, 'caught') - finally + fina add(l, 'finally') endtry assert_equal(['1', 'caught', 'finally'], l) @@ -526,7 +526,7 @@ enddef def ReturnFinally(): string try return 'intry' - finally + finall g:in_finally = 'finally' endtry return 'end' |