File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -50,12 +50,17 @@ let done = 0
5050let fail = 0
5151let errors = []
5252let messages = []
53- try
53+ if expand (' %' ) = ~ ' test_viml.vim'
54+ " this test has intentional errors, don't use try/catch.
5455 source %
55- catch
56- let fail += 1
57- call add (errors, ' Caught exception: ' . v: exception . ' @ ' . v: throwpoint )
58- endtry
56+ else
57+ try
58+ source %
59+ catch
60+ let fail += 1
61+ call add (errors, ' Caught exception: ' . v: exception . ' @ ' . v: throwpoint )
62+ endtry
63+ endif
5964
6065" Locate Test_ functions and execute them.
6166redir @q
Original file line number Diff line number Diff line change 11Results of test49.vim:
2- *** Test 7: OK (90563)
3- *** Test 8: OK (562493431)
4- *** Test 9: OK (363)
5- *** Test 10: OK (559615)
6- *** Test 11: OK (2049)
7- *** Test 12: OK (352256)
8- *** Test 13: OK (145)
9- *** Test 14: OK (42413)
10- *** Test 15: OK (42413)
112*** Test 16: OK (8722)
123*** Test 17: OK (285127993)
134*** Test 18: OK (67224583)
You can’t perform that action at this time.
0 commit comments