@@ -2038,7 +2038,8 @@ assert_equalfile({fname-one}, {fname-two})
2038
2038
Number assert file contents is equal
2039
2039
assert_exception({error} [, {msg} ])
2040
2040
Number assert {error} is in v:exception
2041
- assert_fails({cmd} [, {error} ]) Number assert {cmd} fails
2041
+ assert_fails({cmd} [, {error} [, {msg} ]])
2042
+ Number assert {cmd} fails
2042
2043
assert_false({actual} [, {msg} ])
2043
2044
Number assert {actual} is false
2044
2045
assert_inrange({lower} , {upper} , {actual} [, {msg} ])
@@ -2461,7 +2462,7 @@ term_setkill({buf}, {how}) none set signal to stop job in terminal
2461
2462
term_setrestore({buf} , {command} ) none set command to restore terminal
2462
2463
term_setsize({buf} , {rows} , {cols} )
2463
2464
none set the size of a terminal
2464
- term_start({cmd} , {options} ) Job open a terminal window and run a job
2465
+ term_start({cmd} , {options} ) Number open a terminal window and run a job
2465
2466
term_wait({buf} [, {time} ]) Number wait for screen to be updated
2466
2467
test_alloc_fail({id} , {countdown} , {repeat} )
2467
2468
none make memory allocation fail
@@ -2671,7 +2672,7 @@ assert_exception({error} [, {msg}]) *assert_exception()*
2671
2672
call assert_exception('E492:')
2672
2673
endtry
2673
2674
2674
- assert_fails({cmd} [, {error} ]) *assert_fails()*
2675
+ assert_fails({cmd} [, {error} [, {msg} ]]) *assert_fails()*
2675
2676
Run {cmd} and add an error message to | v:errors | if it does
2676
2677
NOT produce an error. Also see | assert-return | .
2677
2678
When {error} is given it must match in | v:errmsg | .
0 commit comments