summaryrefslogtreecommitdiff
path: root/src/channel/routes/test/on_send.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/channel/routes/test/on_send.rs')
-rw-r--r--src/channel/routes/test/on_send.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/channel/routes/test/on_send.rs b/src/channel/routes/test/on_send.rs
index 6690374..93a5480 100644
--- a/src/channel/routes/test/on_send.rs
+++ b/src/channel/routes/test/on_send.rs
@@ -141,9 +141,8 @@ async fn nonexistent_channel() {
// Verify the structure of the response
- fixtures::error::expected!(
+ assert!(matches!(
error,
- app::EventsError::ChannelNotFound(error_channel),
- assert_eq!(channel, error_channel)
- );
+ app::EventsError::ChannelNotFound(error_channel) if channel == error_channel
+ ));
}