@@ -2038,7 +2038,8 @@ assert_equalfile({fname-one}, {fname-two})
20382038 Number assert file contents is equal
20392039assert_exception({error} [, {msg} ])
20402040 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
20422043assert_false({actual} [, {msg} ])
20432044 Number assert {actual} is false
20442045assert_inrange({lower} , {upper} , {actual} [, {msg} ])
@@ -2461,7 +2462,7 @@ term_setkill({buf}, {how}) none set signal to stop job in terminal
24612462term_setrestore({buf} , {command} ) none set command to restore terminal
24622463term_setsize({buf} , {rows} , {cols} )
24632464 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
24652466term_wait({buf} [, {time} ]) Number wait for screen to be updated
24662467test_alloc_fail({id} , {countdown} , {repeat} )
24672468 none make memory allocation fail
@@ -2671,7 +2672,7 @@ assert_exception({error} [, {msg}]) *assert_exception()*
26712672 call assert_exception('E492:')
26722673 endtry
26732674
2674- assert_fails({cmd} [, {error} ]) *assert_fails()*
2675+ assert_fails({cmd} [, {error} [, {msg} ]]) *assert_fails()*
26752676 Run {cmd} and add an error message to | v:errors | if it does
26762677 NOT produce an error. Also see | assert-return | .
26772678 When {error} is given it must match in | v:errmsg | .
0 commit comments