diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-09-27 15:38:50 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-09-27 15:38:50 -0400 |
| commit | 68e3dce3c2e588376c6510783e908941360ac80e (patch) | |
| tree | 7a7dc6e2766bc49e917057ceac44962c228f323a /src | |
| parent | 80af9cfb858dd18bc1cf26ce213aecd52bd8fc7b (diff) | |
Fix test missed in cce1ab45db0de5e912fa7eec8d8a2cfe9a314078
Diffstat (limited to 'src')
| -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] |
