From 930918325a28062beb39581f8d55d6344c8fb6e3 Mon Sep 17 00:00:00 2001 From: Dariusz Depta Date: Tue, 5 Mar 2024 09:37:16 +0100 Subject: [PATCH] Removed unneeded test. --- src/primitives/hrp.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/primitives/hrp.rs b/src/primitives/hrp.rs index cfc8b0f0c..02323ab98 100644 --- a/src/primitives/hrp.rs +++ b/src/primitives/hrp.rs @@ -537,13 +537,4 @@ mod tests { let hrp = Hrp::parse_unchecked(s); assert_eq!(hrp.as_bytes(), s.as_bytes()); } - - #[test] - fn error_messages() { - assert_eq!("hrp is too long, found 92 characters, must be <= 83", Error::TooLong(92).to_string()); - assert_eq!("hrp is empty, must have at least 1 character", Error::Empty.to_string()); - assert_eq!("found non-ASCII character: 😊", Error::NonAsciiChar('😊').to_string()); - assert_eq!("byte value is not valid US-ASCII: 'ff'", Error::InvalidAsciiByte(255).to_string()); - assert_eq!("hrp cannot mix upper and lower case", Error::MixedCase.to_string()); - } }