Fix test that relied on matching panic messages.
The panic message for copy_from_slice changed in Rust 1.47.
This commit is contained in:
parent
88d01234a8
commit
f35057c19f
|
@ -887,7 +887,7 @@ mod test {
|
|||
}
|
||||
|
||||
#[test]
|
||||
#[should_panic(expected = "destination and source slices have different lengths")]
|
||||
#[should_panic(expected = "length")]
|
||||
fn test_from_bytes_too_long() {
|
||||
let _ = Address::from_bytes(&[0u8; 15]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue