Lines Matching refs:error
125 Ignore any error containing {expr}. A normal message is given
128 error with try/catch cannot be used (because it skips over
267 error message.
292 Run {cmd} and add an error message to |v:errors| if it does
302 When {expected} and {actual} are not equal an error message is
309 When {msg} is omitted an error in the form "Expected
323 exactly the same text an error message is added to |v:errors|.
325 When {fname-one} or {fname-two} does not exist the error will
332 assert_exception({error} [, {msg}]) *assert_exception()*
333 When v:exception does not contain the string {error} an error
336 Using the error number, followed by a colon, avoids problems
346 assert_fails({cmd} [, {error} [, {msg} [, {lnum} [, {context}]]]])
347 Run {cmd} and add an error message to |v:errors| if it does
348 NOT produce an error or when {error} is not found in the
349 error message. Also see |assert-return|.
351 When {error} is a string it must be found literally in the
352 first reported error. Most often this will be the error code,
356 When {error} is a |List| with one or two strings, these are
358 first reported error: >
361 reported error.
362 If there is only one error then both patterns must match. This
363 can be used to check that there is only one error.
364 To only match the last error use an empty string for the first
365 error: >
371 When {lnum} is present and not negative, and the {error}
373 the line number at which the error was reported. That can be
380 Note that beeping is not considered an error, and some failing
387 When {actual} is not false an error message is added to
392 When {msg} is omitted an error in the form
400 than {lower} or higher than {upper} an error message is added
402 When {msg} is omitted an error in the form
408 When {pattern} does not match {actual} an error message is
419 When {msg} is omitted an error in the form
430 Run {cmd} and add an error message to |v:errors| if it
439 The opposite of `assert_equal()`: add an error message to
448 The opposite of `assert_match()`: add an error message to
465 When {actual} is not true an error message is added to
470 When {msg} is omitted an error in the form "Expected True but