fix behaviour and tests

This commit is contained in:
pap
2025-08-01 19:42:16 +01:00
parent ac5705c0ed
commit cd078bb9d1
3 changed files with 28 additions and 47 deletions

View File

@@ -583,7 +583,10 @@ mod tests {
))
});
assert!(handled, "expected ctrl+v to be handled on success");
match rx.recv().expect("event") {
match rx
.recv()
.unwrap_or_else(|e| panic!("failed to receive event: {e}"))
{
AppEvent::AttachImage {
path,
width,