From 68e3dce3c2e588376c6510783e908941360ac80e Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Fri, 27 Sep 2024 15:38:50 -0400 Subject: Fix test missed in cce1ab45db0de5e912fa7eec8d8a2cfe9a314078 --- src/events/routes/test.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src') 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] -- cgit v1.2.3