We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef50d6d commit 9309183Copy full SHA for 9309183
src/primitives/hrp.rs
@@ -537,13 +537,4 @@ mod tests {
537
let hrp = Hrp::parse_unchecked(s);
538
assert_eq!(hrp.as_bytes(), s.as_bytes());
539
}
540
-
541
- #[test]
542
- fn error_messages() {
543
- assert_eq!("hrp is too long, found 92 characters, must be <= 83", Error::TooLong(92).to_string());
544
- assert_eq!("hrp is empty, must have at least 1 character", Error::Empty.to_string());
545
- assert_eq!("found non-ASCII character: 😊", Error::NonAsciiChar('😊').to_string());
546
- assert_eq!("byte value is not valid US-ASCII: 'ff'", Error::InvalidAsciiByte(255).to_string());
547
- assert_eq!("hrp cannot mix upper and lower case", Error::MixedCase.to_string());
548
- }
549
0 commit comments