Mercurial > vim
comparison src/testdir/test_trycatch.vim @ 19906:031184ace7c5 v8.2.0509
patch 8.2.0509: various code is not properly tested.
Commit: https://github.com/vim/vim/commit/cde0ff39da2459b16007fef701ebaa449fb6fe9d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Apr 4 14:00:39 2020 +0200
patch 8.2.0509: various code is not properly tested.
Problem: various code is not properly tested.
Solution: Add more tests. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/5871)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 04 Apr 2020 14:15:05 +0200 |
parents | 0aba9ef12488 |
children | 6a4806e326dd |
comparison
equal
deleted
inserted
replaced
19905:a1a00030eedc | 19906:031184ace7c5 |
---|---|
2010 endfunc | 2010 endfunc |
2011 | 2011 |
2012 " Test for verbose messages with :try :catch, and :finally {{{1 | 2012 " Test for verbose messages with :try :catch, and :finally {{{1 |
2013 func Test_try_catch_verbose() | 2013 func Test_try_catch_verbose() |
2014 " This test works only when the language is English | 2014 " This test works only when the language is English |
2015 if v:lang != "C" && v:lang !~ '^[Ee]n' | 2015 CheckEnglish |
2016 return | |
2017 endif | |
2018 | 2016 |
2019 set verbose=14 | 2017 set verbose=14 |
2020 | 2018 |
2021 " Test for verbose messages displayed when an exception is caught | 2019 " Test for verbose messages displayed when an exception is caught |
2022 redir => msg | 2020 redir => msg |