fix test and add truncate test.

This commit is contained in:
Liu Hancheng 2022-03-25 21:31:23 +08:00
parent ce85981a4e
commit 3c72f4dc51
2 changed files with 73 additions and 6 deletions

View file

@ -55,8 +55,8 @@ impl Display for DocumentFormatError {
write!(
f,
"The `{}` payload provided is malformed. `Couldn't serialize document value: {}. at line {} column {} `",
b, se.line(), se.column(),serde_msg
"The `{}` payload provided is malformed. `Couldn't serialize document value: {}`.",
b,serde_msg
)
}
_ => write!(f, "The `{}` payload provided is malformed: `{}`.", b, me),