Skip to content

Commit

Permalink
explicit panic on not error
Browse files Browse the repository at this point in the history
  • Loading branch information
meowjesty committed Oct 15, 2024
1 parent 49e5df6 commit a3ec6d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mirrord/intproxy/src/proxies/incoming/interceptor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -870,6 +870,8 @@ mod test {
.source()
.and_then(|source| source.downcast_ref::<h2::Error>())
.is_some_and(h2::Error::is_go_away));
} else {
panic!("The request is supposed to fail with `GO_AWAY`, something is wrong if it didn't!");
}
});

Expand Down

0 comments on commit a3ec6d9

Please sign in to comment.