comparison runtime/doc/testing.txt @ 27459:5825405e4e2c

Update runtime files Commit: https://github.com/vim/vim/commit/f10911e5db16f1fe6ab519c5d091ad0c1df0d063 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 29 22:20:48 2022 +0000 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sat, 29 Jan 2022 23:30:04 +0100
parents 722db0819111
children b43f6c879d52
comparison
equal deleted inserted replaced
27458:2a7fc102cb91 27459:5825405e4e2c
1 *testing.txt* For Vim version 8.2. Last change: 2022 Jan 20 1 *testing.txt* For Vim version 8.2. Last change: 2022 Jan 23
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
388 error: > 388 error: >
389 assert_fails('cmd', ['', 'E987:']) 389 assert_fails('cmd', ['', 'E987:'])
390 < 390 <
391 If {msg} is empty then it is not used. Do this to get the 391 If {msg} is empty then it is not used. Do this to get the
392 default message when passing the {lnum} argument. 392 default message when passing the {lnum} argument.
393 393 *E1115*
394 When {lnum} is present and not negative, and the {error} 394 When {lnum} is present and not negative, and the {error}
395 argument is present and matches, then this is compared with 395 argument is present and matches, then this is compared with
396 the line number at which the error was reported. That can be 396 the line number at which the error was reported. That can be
397 the line number in a function or in a script. 397 the line number in a function or in a script.
398 398 *E1116*
399 When {context} is present it is used as a pattern and matched 399 When {context} is present it is used as a pattern and matched
400 against the context (script name or function name) where 400 against the context (script name or function name) where
401 {lnum} is located in. 401 {lnum} is located in.
402 402
403 Note that beeping is not considered an error, and some failing 403 Note that beeping is not considered an error, and some failing