blob: 92e1ec5335a2245c9b5094554794388649ef410b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
" Tests for various eval things.
function s:foo() abort
try
return [] == 0
catch
return 1
endtry
endfunction
func Test_catch_return_with_error()
call assert_equal(1, s:foo())
endfunc
|