diff options
Diffstat (limited to 'src/events/routes')
| -rw-r--r-- | src/events/routes/test.rs | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/events/routes/test.rs b/src/events/routes/test.rs index 0b08fd6..4412938 100644 --- a/src/events/routes/test.rs +++ b/src/events/routes/test.rs @@ -215,11 +215,10 @@ 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 error_channel == channel + )); } #[tokio::test] |
