This commit is contained in:
Felix Ableitner 2023-12-20 12:04:36 +01:00
parent 35bd86ab05
commit b694331e19

View file

@ -130,8 +130,8 @@ mod test {
.await;
match res {
Err(Error::ParseReceivedActivity(url, _)) => {
assert_eq!(id, url.as_str());
Err(Error::ParseReceivedActivity(_, url)) => {
assert_eq!(id, url.expect("has url").as_str());
}
_ => unreachable!(),
}