From 501bae42f50f296ad7b9224211a3b03994d798f4 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Mon, 6 Nov 2017 22:46:24 -0800 Subject: [PATCH] Fix space in serde_test panic message Without this, the message contains "representationsmust". --- serde_test/src/de.rs | 2 +- serde_test/src/ser.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/serde_test/src/de.rs b/serde_test/src/de.rs index e20a4430..015eb97f 100644 --- a/serde_test/src/de.rs +++ b/serde_test/src/de.rs @@ -366,7 +366,7 @@ impl<'de, 'a> de::Deserializer<'de> for &'a mut Deserializer<'de> { fn is_human_readable(&self) -> bool { 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`" ); } diff --git a/serde_test/src/ser.rs b/serde_test/src/ser.rs index d443c883..dd68d183 100644 --- a/serde_test/src/ser.rs +++ b/serde_test/src/ser.rs @@ -297,7 +297,7 @@ impl<'s, 'a> ser::Serializer for &'s mut Serializer<'a> { fn is_human_readable(&self) -> bool { 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`" ); }