refactor: short/long panic message

pull/24376/head
Dom Dwyer 2023-07-10 13:51:40 +02:00
parent bee1b45c13
commit 991692d2fb
No known key found for this signature in database
GPG Key ID: E4C40DBD9157879A
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ mod tests {
let v = Bytes::from_static(&[
42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42, 42,
]);
let _ = Identity::try_from(v).expect_err("short ID should fail");
let _ = Identity::try_from(v).expect_err("long ID should fail");
}
#[test]