test/api: Specify handling of VimL errors, v:errmsg.

TODO: Also spec behavior of Press-Enter prompt for these API functions.
This commit is contained in:
Justin M. Keyes
2016-10-23 00:02:22 +02:00
parent fdc48cad7d
commit 43309d1993
7 changed files with 53 additions and 26 deletions

View File

@@ -34,7 +34,7 @@
#endif
/// Executes an ex-command.
/// On VimL error: Returns the VimL error and updates v:errmsg.
/// On VimL error: Returns the VimL error; v:errmsg is not updated.
///
/// @param command Ex-command string
/// @param[out] err Error details (including actual VimL error), if any