mirror of
https://github.com/openai/codex.git
synced 2026-05-04 21:32:21 +03:00
fix behaviour and tests
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user