Fix space in serde_test panic message
Without this, the message contains "representationsmust".
This commit is contained in:
parent
7a0397451e
commit
501bae42f5
@ -366,7 +366,7 @@ impl<'de, 'a> de::Deserializer<'de> for &'a mut Deserializer<'de> {
|
|||||||
|
|
||||||
fn is_human_readable(&self) -> bool {
|
fn is_human_readable(&self) -> bool {
|
||||||
panic!(
|
panic!(
|
||||||
"Types which have different human-readable and compact representations\
|
"Types which have different human-readable and compact representations \
|
||||||
must explicitly mark their test cases with `serde_test::Configure`"
|
must explicitly mark their test cases with `serde_test::Configure`"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -297,7 +297,7 @@ impl<'s, 'a> ser::Serializer for &'s mut Serializer<'a> {
|
|||||||
|
|
||||||
fn is_human_readable(&self) -> bool {
|
fn is_human_readable(&self) -> bool {
|
||||||
panic!(
|
panic!(
|
||||||
"Types which have different human-readable and compact representations\
|
"Types which have different human-readable and compact representations \
|
||||||
must explicitly mark their test cases with `serde_test::Configure`"
|
must explicitly mark their test cases with `serde_test::Configure`"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user