Add some tests and cleanup.

This commit is contained in:
Michael Ennen
2016-11-11 13:13:55 -07:00
committed by James McCoy
parent 0f681c80e1
commit 5e4eb18eb0
7 changed files with 33 additions and 5 deletions

View File

@@ -908,7 +908,7 @@ char *encode_tv2json(typval_T *tv, size_t *len)
mpstack, objname)
#define TYPVAL_ENCODE_CONV_PARTIAL(partial) \
return conv_error(_("E951: Error while dumping %s, %s: " \
return conv_error(_("E5004: Error while dumping %s, %s: " \
"attempt to dump partial"), \
mpstack, objname)