diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2020-01-01 06:03:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-01 06:03:48 -0800 |
commit | 99eca048357b8ec72e84b45d21c2a38e25ed6ec0 (patch) | |
tree | ed4365b1ec8ec8abf6e485bf034c7afacd82f601 /src/nvim/testdir/test_python2.vim | |
parent | dec165b268803d08425e0f173b2487c76a2c440c (diff) | |
parent | 0f47870d1b5e893857df007901f5f062939a9eb7 (diff) | |
download | rneovim-99eca048357b8ec72e84b45d21c2a38e25ed6ec0.tar.gz rneovim-99eca048357b8ec72e84b45d21c2a38e25ed6ec0.tar.bz2 rneovim-99eca048357b8ec72e84b45d21c2a38e25ed6ec0.zip |
Merge #11645 from janlazo/vim-8.1.1346
vim-patch:8.1.1346,8.2.0068
Diffstat (limited to 'src/nvim/testdir/test_python2.vim')
-rw-r--r-- | src/nvim/testdir/test_python2.vim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/nvim/testdir/test_python2.vim b/src/nvim/testdir/test_python2.vim index 8d55b59c31..9628a298b9 100644 --- a/src/nvim/testdir/test_python2.vim +++ b/src/nvim/testdir/test_python2.vim @@ -164,3 +164,11 @@ func Test_Write_To_Current_Buffer_Fixes_Cursor_Str() bwipe! endfunction + +func Test_Catch_Exception_Message() + try + py raise RuntimeError( 'TEST' ) + catch /.*/ + call assert_match('^Vim(.*):.*RuntimeError: TEST$', v:exception ) + endtry +endfunc |