Skip to content

Commit 9309183

Browse files
committed
Removed unneeded test.
1 parent ef50d6d commit 9309183

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/primitives/hrp.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -537,13 +537,4 @@ mod tests {
537537
let hrp = Hrp::parse_unchecked(s);
538538
assert_eq!(hrp.as_bytes(), s.as_bytes());
539539
}
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-
}
549540
}

0 commit comments

Comments
 (0)